doc: merge ecpg username/password example into C comment

Backpatch to 9.2

per Tom Lane
pull/3/head
Bruce Momjian 14 years ago
parent 0e93959a70
commit d309be0fb7
  1. 3
      doc/src/sgml/ecpg.sgml

@ -198,8 +198,7 @@ const char *passwd = "secret";
EXEC SQL END DECLARE SECTION;
...
EXEC SQL CONNECT TO :target USER :user USING :passwd;
EXEC SQL CONNECT TO :target USER :user/:passwd;
/* or EXEC SQL CONNECT TO :target USER :user/:passwd; */
</programlisting>
The last form makes use of the variant referred to above as
character variable reference. You will see in later sections how C

Loading…
Cancel
Save