We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec497a5 commit 856a230Copy full SHA for 856a230
doc/src/sgml/plpython.sgml
@@ -1199,7 +1199,7 @@ $$ LANGUAGE plpythonu;
1199
ad-hoc queries. A PL/Python equivalent of dynamic SQL from <xref
1200
linkend="plpgsql-quote-literal-example"> would be:
1201
<programlisting>
1202
-plpy.execute("UPDATE tbl SET %s = %s where key = %s" % (
+plpy.execute("UPDATE tbl SET %s = %s WHERE key = %s" % (
1203
plpy.quote_ident(colname),
1204
plpy.quote_nullable(newvalue),
1205
plpy.quote_literal(keyvalue)))
0 commit comments