mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
PL/pgSQL docs: recommend format() for query construction
Previously only concatenation was recommended. Report by Pavel Stehule
This commit is contained in:
@@ -2998,14 +2998,15 @@
|
||||
<para>
|
||||
<literal>I</literal> treats the argument value as an SQL
|
||||
identifier, double-quoting it if necessary.
|
||||
It is an error for the value to be null.
|
||||
It is an error for the value to be null (equivalent to
|
||||
<function>quote_ident</>).
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>L</literal> quotes the argument value as an SQL literal.
|
||||
A null value is displayed as the string <literal>NULL</>, without
|
||||
quotes.
|
||||
quotes (equivalent to <function>quote_nullable</function>).
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
Reference in New Issue
Block a user