]> granicus.if.org Git - postgresql/commit
Add quote_literal(anyelement) to preserve (and, in fact, extend) a
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Nov 2007 18:29:11 +0000 (18:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Nov 2007 18:29:11 +0000 (18:29 +0000)
commit3f899642340a9f5de946af50152a529aac5e57bb
treeef5406086d26d7400e2731b7f05b1b2b84fa70bb
parent66d7bbf6746adb00b859c7ffc7c55ad96b18e29a
Add quote_literal(anyelement) to preserve (and, in fact, extend) a
useful consequence of the former liberal implicit casting to text;
namely that you can feed non-string values to quote_literal() and get
unsurprising results.  Per discussion.
doc/src/sgml/func.sgml
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h