diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-01-21 14:58:53 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-01-21 14:58:53 +0000 |
commit | d66679672f22de7360514f26cb81ccdb5ab43096 (patch) | |
tree | dc24170dbbf61be46e9e55dbb9315cbe3a22cb96 /src/backend/tcop/postgres.c | |
parent | ed1d3f5ecf60be7f8e7aec38657292f2455b4877 (diff) | |
download | postgresql-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