aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2011-03-24 22:18:11 +0100
committerMichael Meskes <meskes@postgresql.org>2011-03-25 02:30:50 +0100
commit71ac48fd9cebd3d2a873635a04df64096c981f73 (patch)
tree1e82e038c47ab6c915c2e08feed29b296412f20c
parent27dc7e240bfd230ee1315cc00577a6ed72aff94a (diff)
downloadpostgresql-71ac48fd9cebd3d2a873635a04df64096c981f73.tar.gz
postgresql-71ac48fd9cebd3d2a873635a04df64096c981f73.zip
Documented some ecpg command line options that were missing:
-r no_indicator -r prepare -r questionsmarks
-rw-r--r--doc/src/sgml/ref/ecpg-ref.sgml32
1 files changed, 29 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/ecpg-ref.sgml b/doc/src/sgml/ref/ecpg-ref.sgml
index 2a783ea477b..eca78e14611 100644
--- a/doc/src/sgml/ref/ecpg-ref.sgml
+++ b/doc/src/sgml/ref/ecpg-ref.sgml
@@ -135,9 +135,35 @@ PostgreSQL documentation
<term><option>-r <replaceable>option</replaceable></option></term>
<listitem>
<para>
- Selects a run-time behavior. Currently,
- <replaceable>option</replaceable> can only be
- <literal>no_indicator</literal>.
+ Selects run-time behavior. <replaceable>Option</replaceable> can be
+ one of the following:
+ <variablelist>
+ <varlistentry>
+ <term><option>no_indicator</option></term>
+ <listitem>
+ <para>
+ Do not use indicators but instead use special values to represent
+ NULLs. Historically there have been databases using this approach.
+ </para>
+ </varlistentry>
+ <varlistentry>
+ <term><option>prepare</option></term>
+ <listitem>
+ <para>
+ Prepare all statements before using them. Libecpg will keep a cache of
+ prepared statments and reuse a statement if it gets executed again. If the
+ cache runs full, libecpg will free the least used statement.
+ </para>
+ </varlistentry>
+ <varlistentry>
+ <term><option>questionmarks</option></term>
+ <listitem>
+ <para>
+ Allow questionmark as placeholder for compatibility reasons.
+ This used to be the default long ago.
+ </para>
+ </varlistentry>
+ </variablelist>
</para>
</listitem>
</varlistentry>