summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-01-07 05:43:28 +0000
committerBruce Momjian <bruce@momjian.us>2005-01-07 05:43:28 +0000
commit826f732562e0287d6f49fc60e565276d543a6fc5 (patch)
tree81f22168efabc13b52fcb8c75637f7667d7680c6
parent75a59ad6d1535b501a1f76ad895a849ad705b2e9 (diff)
Fix ECPGstatus() documentation of parameters.
Edmund Bacon
-rw-r--r--doc/src/sgml/ecpg.sgml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 153f9bd197f..e2e4c308997 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.60 2004/12/28 22:47:15 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.61 2005/01/07 05:43:28 momjian Exp $
-->
<chapter id="ecpg">
@@ -1610,8 +1610,11 @@ ECPG = ecpg
<listitem>
<para>
- <function>ECPGstatus()</function> returns true if you
- are connected to a database and false if not.
+ <function>ECPGstatus(int <replaceable>lineno</replaceable>,
+ const char* <replaceable>connection_name</replaceable>)</function>
+ returns true if you are connected to a database and false if not.
+ <replaceable>connection_name</replaceable> can be <literal>NULL</>
+ if a single connection is being used.
</para>
</listitem>
</itemizedlist>