Skip to content

Commit bf33f26

Browse files
committed
Fix psql flags in PostgreSQL CI: use -t instead of -BN
psql does not support MySQL-style -B (batch) or -N (skip column names) flags. Use psql's -t (tuples only) instead.
1 parent 5dd0fc8 commit bf33f26

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-postgresql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ jobs:
102102
- name: Test stored procedures
103103
run: |
104104
SBDIR=$(ls -d ~/sandboxes/pg_sandbox_*)
105-
$SBDIR/use -d employees -BN -c "SELECT emp_name(10001);"
106-
$SBDIR/use -d employees -BN -c "SELECT emp_dept_name(10001);"
107-
$SBDIR/use -d employees -BN -c "SELECT current_manager('d001');"
105+
$SBDIR/use -d employees -t -c "SELECT emp_name(10001);"
106+
$SBDIR/use -d employees -t -c "SELECT emp_dept_name(10001);"
107+
$SBDIR/use -d employees -t -c "SELECT current_manager('d001');"
108108
$SBDIR/use -d employees -c "CALL show_departments();"
109-
$SBDIR/use -d employees -BN -c "SELECT COUNT(*) FROM v_full_employees;"
110-
$SBDIR/use -d employees -BN -c "SELECT COUNT(*) FROM v_full_departments;"
109+
$SBDIR/use -d employees -t -c "SELECT COUNT(*) FROM v_full_employees;"
110+
$SBDIR/use -d employees -t -c "SELECT COUNT(*) FROM v_full_departments;"
111111
112112
- name: Cleanup
113113
if: always()

0 commit comments

Comments
 (0)