postgres.git / summary / log / commit / refs

commit    856a23018c976794655d6f53b72fb692178fbb27
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Tue Mar 22 15:44:38 2011 +0000

    Cosmetic capitalization fix


doc/src/sgml/plpython.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index ba785e9a531..d39158ac12e 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -1199,7 +1199,7 @@ $$ LANGUAGE plpythonu; ad-hoc queries. A PL/Python equivalent of dynamic SQL from <xref linkend="plpgsql-quote-literal-example"> would be: <programlisting> -plpy.execute("UPDATE tbl SET %s = %s where key = %s" % ( +plpy.execute("UPDATE tbl SET %s = %s WHERE key = %s" % ( plpy.quote_ident(colname), plpy.quote_nullable(newvalue), plpy.quote_literal(keyvalue))) [parent: ec497a5ad6a0]