summaryrefslogtreecommitdiff
path: root/src/pl/plpython/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut2011-02-22 21:33:44 +0000
committerPeter Eisentraut2011-02-22 21:41:23 +0000
commit1c51c7d5ffd407426f314b2cd317ef77f14efb1f (patch)
tree86ff75cfeb5801164eb4b3d4f5ce5dba20d8acad /src/pl/plpython/Makefile
parent3e6b305d9e2a4616bf69e31b0b21ebbb844ba50e (diff)
Add PL/Python functions for quoting strings
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
Diffstat (limited to 'src/pl/plpython/Makefile')
-rw-r--r--src/pl/plpython/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile
index 3a2411bea18..17fa86880ed 100644
--- a/src/pl/plpython/Makefile
+++ b/src/pl/plpython/Makefile
@@ -79,6 +79,7 @@ REGRESS = \
plpython_types \
plpython_error \
plpython_unicode \
+ plpython_quote \
plpython_drop
# where to find psql for running the tests
PSQLDIR = $(bindir)