Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1w7Tn2M9BhK+rt8Shtz1AkU+ty7By8gj5C==z65=U4vyQ@mail.gmail.com
<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);