]> granicus.if.org Git - postgresql/commit
Backpatch rule deparsing bugfixes into 6.5.*.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 Aug 1999 19:22:28 +0000 (19:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 Aug 1999 19:22:28 +0000 (19:22 +0000)
commit4c93b04f48e20af594abd82bf4b8c4c3e372b14a
tree84a12995cd24d6a4f0a49c10e169e3d55c070906
parent04ffd2bc0accb80a6bf1e2a46c86ff1b289be9cb
Backpatch rule deparsing bugfixes into 6.5.*.
I believe this is a pretty critical bugfix, since without it, stored rules
containing CASE expressions or array references cannot be dumped by pg_dump.
Worse, rules containing expressions like (a + b) * c will be dumped
incorrectly (minus the parentheses, silently yielding the wrong answer...).
src/backend/utils/adt/ruleutils.c
src/test/regress/expected/rules.out