Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59354cc

Browse files
committed
Fix example program in docs too (??)
Fixup for previous commit: actually, the complete source fortestlibpq3.c appears in SGML docs, so we need to patch that also.Go figure.
1 parent9b8e99e commit59354cc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8332,9 +8332,10 @@ main(int argc, char **argv)
83328332
*
83338333
* CREATE SCHEMA testlibpq3;
83348334
* SET search_path = testlibpq3;
8335+
* SET standard_conforming_strings = ON;
83358336
* CREATE TABLE test1 (i int4, t text, b bytea);
8336-
* INSERT INTO test1 values (1, 'joe''s place', '\\000\\001\\002\\003\\004');
8337-
* INSERT INTO test1 values (2, 'ho there', '\\004\\003\\002\\001\\000');
8337+
* INSERT INTO test1 values (1, 'joe''s place', '\000\001\002\003\004');
8338+
* INSERT INTO test1 values (2, 'ho there', '\004\003\002\001\000');
83388339
*
83398340
* The expected output is:
83408341
*

‎src/test/examples/testlibpq3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*
1111
* CREATE SCHEMA testlibpq3;
1212
* SET search_path = testlibpq3;
13+
* SET standard_conforming_strings = ON;
1314
* CREATE TABLE test1 (i int4, t text, b bytea);
1415
* INSERT INTO test1 values (1, 'joe''s place', '\000\001\002\003\004');
1516
* INSERT INTO test1 values (2, 'ho there', '\004\003\002\001\000');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp