summaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_quote.sql
Commit message (Collapse)AuthorAgeFilesLines
* Add PL/Python functions for quoting stringsPeter Eisentraut2011-02-221-0/+33
Add functions plpy.quote_ident, plpy.quote_literal, plpy.quote_nullable, which wrap the equivalent SQL functions. To be able to propagate char * constness properly, make the argument of quote_literal_cstr() const char *. This also makes it more consistent with quote_identifier(). Jan UrbaƄski, reviewed by Hitoshi Harada, some refinements by Peter Eisentraut