summaryrefslogtreecommitdiff
path: root/src/test/examples
diff options
context:
space:
mode:
authorAlvaro Herrera2019-09-18 19:50:20 +0000
committerAlvaro Herrera2019-09-18 19:54:11 +0000
commit59354ccef5d7671bb11982628d6ddd6fffbad2c4 (patch)
treea695129b38a4251f3ab8d2c38f7a90447abcb673 /src/test/examples
parent9b8e99e905097e104c295bff1c47b6c0d652efdb (diff)
Fix example program in docs too (??)
Fixup for previous commit: actually, the complete source for testlibpq3.c appears in SGML docs, so we need to patch that also. Go figure.
Diffstat (limited to 'src/test/examples')
-rw-r--r--src/test/examples/testlibpq3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c
index efc3ed3eb0b..dda45af859a 100644
--- a/src/test/examples/testlibpq3.c
+++ b/src/test/examples/testlibpq3.c
@@ -10,6 +10,7 @@
*
* CREATE SCHEMA testlibpq3;
* SET search_path = testlibpq3;
+ * SET standard_conforming_strings = ON;
* CREATE TABLE test1 (i int4, t text, b bytea);
* INSERT INTO test1 values (1, 'joe''s place', '\000\001\002\003\004');
* INSERT INTO test1 values (2, 'ho there', '\004\003\002\001\000');