8000 doc: merge ecpg username/password example into C comment · danielcode/postgres@6d5c62a · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d5c62a

Browse files
committed
doc: merge ecpg username/password example into C comment
Backpatch to 9.2 per Tom Lane
1 parent dc33b09 commit 6d5c62a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ const char *passwd = "secret";
198198
EXEC SQL END DECLARE SECTION;
199199
...
200200
EXEC SQL CONNECT TO :target USER :user USING :passwd;
201-
202-
EXEC SQL CONNECT TO :target USER :user/:passwd;
201+
/* or EXEC SQL CONNECT TO :target USER :user/:passwd; */
203202
</programlisting>
204203
The last form makes use of the variant referred to above as
205204
character variable reference. You will see in later sections how C

0 commit comments

Comments
 (0)
0