Skip to content

Commit d309be0

Browse files
committed
doc: merge ecpg username/password example into C comment
Backpatch to 9.2 per Tom Lane
1 parent 0e93959 commit d309be0

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy