]> granicus.if.org Git - postgresql/commit
Change get_rule_expr so that when the input is a List, it displays the
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Oct 2004 20:36:52 +0000 (20:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Oct 2004 20:36:52 +0000 (20:36 +0000)
commit4b102710371c94525b480378a432f45aec104618
tree05186332ff27991462af59cc6e1b9552045b38ac
parent05c561eec803e64857c788238d95a069e46342c7
Change get_rule_expr so that when the input is a List, it displays the
list elements comma-separated instead of barfing.  This allows elimination
of half a dozen redundant copies of that behavior, and also makes the
world safe again for pg_get_expr() applied to pg_index.indexprs, per gripe
from Alexander Zhiltsov.
src/backend/utils/adt/ruleutils.c