From 6d5c62ad992d8bb2ef2a29276dd02c52799b10a1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Fri, 25 Jan 2013 13:46:38 -0500 Subject: [PATCH] doc: merge ecpg username/password example into C comment Backpatch to 9.2 per Tom Lane --- doc/src/sgml/ecpg.sgml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index bf01857a4c2..4d904cdeb88 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/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 -- GitLab