mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Documented some ecpg command line options that were missing:
-r no_indicator -r prepare -r questionsmarks
This commit is contained in:
parent
27dc7e240b
commit
71ac48fd9c
@ -135,9 +135,35 @@ PostgreSQL documentation
|
|||||||
<term><option>-r <replaceable>option</replaceable></option></term>
|
<term><option>-r <replaceable>option</replaceable></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Selects a run-time behavior. Currently,
|
Selects run-time behavior. <replaceable>Option</replaceable> can be
|
||||||
<replaceable>option</replaceable> can only be
|
one of the following:
|
||||||
<literal>no_indicator</literal>.
|
<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>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user