OSDN Git Service

Revise rule-printing routines to use expandable StringInfo buffers, so that
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Oct 1999 01:08:05 +0000 (01:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Oct 1999 01:08:05 +0000 (01:08 +0000)
commitcd243d27ce290f2f98d4809f6c205c36312a82f4
tree646b9b4525de476c8f46ec7e59c9b6ca96cc5088
parent4e9073855c65e8b9f850b0ef8683e2b6eeac6ee0
Revise rule-printing routines to use expandable StringInfo buffers, so that
they have no hardwired limit on the length of a rule's text.  Fix a couple
of minor bugs in passing --- deparsed UPDATE queries didn't have quotes
around relation name, and quotes and backslashes in constant values weren't
backslash-quoted.
src/backend/utils/adt/ruleutils.c
src/test/regress/expected/rules.out