mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Doc: make cross-reference to format() function more specific.
Jeff Janes Discussion: https://postgr.es/m/CAMkU=1w7Tn2M9BhK+rt8Shtz1AkU+ty7By8gj5C==z65=U4vyQ@mail.gmail.com
This commit is contained in:
parent
730422afcd
commit
eeee62d805
@ -1414,7 +1414,7 @@ EXECUTE 'UPDATE tbl SET '
|
||||
<para>
|
||||
Dynamic SQL statements can also be safely constructed using the
|
||||
<function>format</function> function (see <xref
|
||||
linkend="functions-string"/>). For example:
|
||||
linkend="functions-string-format"/>). For example:
|
||||
<programlisting>
|
||||
EXECUTE format('UPDATE tbl SET %I = %L '
|
||||
'WHERE key = %L', colname, newvalue, keyvalue);
|
||||
|
Loading…
Reference in New Issue
Block a user