Commit d309be0f authored by Bruce Momjian's avatar Bruce Momjian

doc: merge ecpg username/password example into C comment

Backpatch to 9.2

per Tom Lane
parent 0e93959a
...@@ -198,8 +198,7 @@ const char *passwd = "secret"; ...@@ -198,8 +198,7 @@ const char *passwd = "secret";
EXEC SQL END DECLARE SECTION; EXEC SQL END DECLARE SECTION;
... ...
EXEC SQL CONNECT TO :target USER :user USING :passwd; EXEC SQL CONNECT TO :target USER :user USING :passwd;
/* or EXEC SQL CONNECT TO :target USER :user/:passwd; */
EXEC SQL CONNECT TO :target USER :user/:passwd;
</programlisting> </programlisting>
The last form makes use of the variant referred to above as The last form makes use of the variant referred to above as
character variable reference. You will see in later sections how C character variable reference. You will see in later sections how C
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment