aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-11-20 00:21:17 -0500
committerRobert Haas <rhaas@postgresql.org>2010-11-20 22:33:27 -0500
commit750487077802861a2accd94164166747ec311fa4 (patch)
treeb698c97272bede25c1ac9698a81f10f0fc0cb6d2 /src/backend/utils/adt/xml.c
parent89a368418c56125f79f46a81229e824d519f9718 (diff)
downloadpostgresql-750487077802861a2accd94164166747ec311fa4.tar.gz
postgresql-750487077802861a2accd94164166747ec311fa4.zip
Add new SQL function, format(text).
Currently, three conversion format specifiers are supported: %s for a string, %L for an SQL literal, and %I for an SQL identifier. The latter two are deliberately designed not to overlap with what sprintf() already supports, in case we want to add more of sprintf()'s functionality here later. Patch by Pavel Stehule, heavily revised by me. Reviewed by Jeff Janes and, in earlier versions, by Itagaki Takahiro and Tom Lane.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions