aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/sql/numeric.sql
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-30 18:11:04 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-30 18:11:04 +0000
commit578a0d3fcde12c6f16d123bc5abc56dab93390fa (patch)
tree083164feb2e1f7fc52263bedcbf2de752276f1ca /contrib/btree_gist/sql/numeric.sql
parentb12ca1d56136db61d141ad160236b9f745bb354f (diff)
downloadpostgresql-578a0d3fcde12c6f16d123bc5abc56dab93390fa.tar.gz
postgresql-578a0d3fcde12c6f16d123bc5abc56dab93390fa.zip
stringToNode() and deparse_expression_pretty() crash on invalid input,
but we have nevertheless exposed them to users via pg_get_expr(). It would be too much maintenance effort to rigorously check the input, so put a hack in place instead to restrict pg_get_expr() so that the argument must come from one of the system catalog columns known to contain valid expressions. Per report from Rushabh Lathia. Backpatch to 7.4 which is the oldest supported version at the moment.
Diffstat (limited to 'contrib/btree_gist/sql/numeric.sql')
0 files changed, 0 insertions, 0 deletions