File: psql-X

package info (click to toggle)
postgresql-plsh 1.20140221-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 244 kB
  • ctags: 55
  • sloc: ansic: 556; sql: 136; makefile: 40; sh: 13
file content (33 lines) | stat: -rw-r--r-- 825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- 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