aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-01-21 14:58:53 +0000
committerRobert Haas <rhaas@postgresql.org>2010-01-21 14:58:53 +0000
commitd66679672f22de7360514f26cb81ccdb5ab43096 (patch)
treedc24170dbbf61be46e9e55dbb9315cbe3a22cb96 /src/backend/tcop/postgres.c
parented1d3f5ecf60be7f8e7aec38657292f2455b4877 (diff)
downloadpostgresql-d66679672f22de7360514f26cb81ccdb5ab43096.tar.gz
postgresql-d66679672f22de7360514f26cb81ccdb5ab43096.zip
Add new escaping functions PQescapeLiteral and PQescapeIdentifier.
PQescapeLiteral is similar to PQescapeStringConn, but it relieves the caller of the need to know how large the output buffer should be, and it provides the appropriate quoting (in addition to escaping special characers within the string). PQescapeIdentifier provides similar functionality for escaping identifiers. Per recent discussion with Tom Lane.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions