summaryrefslogtreecommitdiff
path: root/tests/examplefiles/psql_session.txt
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-04-04 11:41:52 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-04-04 11:41:52 +0100
commit7b4dcdde6cc2f5afff7da8bc26645b5f302ffec9 (patch)
tree8fbb7a36e6096cc48c6db7290635c73a9815c13a /tests/examplefiles/psql_session.txt
parent35e7c08140ad6fbbcf6c77351ce2850217dbbc79 (diff)
downloadpygments-7b4dcdde6cc2f5afff7da8bc26645b5f302ffec9.tar.gz
Added support for psql variables
Diffstat (limited to 'tests/examplefiles/psql_session.txt')
-rw-r--r--tests/examplefiles/psql_session.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examplefiles/psql_session.txt b/tests/examplefiles/psql_session.txt
index 81a07610..fc39b42c 100644
--- a/tests/examplefiles/psql_session.txt
+++ b/tests/examplefiles/psql_session.txt
@@ -14,6 +14,15 @@ HINT: Use the escape string syntax for escapes, e.g., E'\r\n'.
x
(1 row)
+piro=> \set foo 30;
+piro=> select * from test where foo < :foo;
+ foo | bar
+-----+-----
+ 10 |
+ 20 |
+(2 rows)
+
+
regression=# select (
regression(# 1);
?column?