--- a/test/sql/psql.sql
+++ b/test/sql/psql.sql
@@ -6,7 +6,7 @@ LANGUAGE plsh
 AS $$
 #!/bin/sh
 if which psql >/dev/null; then
-    psql -At -c "select b from pbar where a = $1"
+    psql -AtX -c "select b from pbar where a = $1"
 else
     echo 'no PATH?' 1>&2
 fi
--- a/test/expected/psql.out
+++ b/test/expected/psql.out
@@ -5,7 +5,7 @@ LANGUAGE plsh
 AS $$
 #!/bin/sh
 if which psql >/dev/null; then
-    psql -At -c "select b from pbar where a = $1"
+    psql -AtX -c "select b from pbar where a = $1"
 else
     echo 'no PATH?' 1>&2
 fi
--- a/test/expected/psql_1.out
+++ b/test/expected/psql_1.out
@@ -5,7 +5,7 @@ LANGUAGE plsh
 AS $$
 #!/bin/sh
 if which psql >/dev/null; then
-    psql -At -c "select b from pbar where a = $1"
+    psql -AtX -c "select b from pbar where a = $1"
 else
     echo 'no PATH?' 1>&2
 fi
