aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2015-07-29 15:41:00 -0700
committerJoe Conway <mail@joeconway.com>2015-07-29 15:41:00 -0700
commit43797ed42a7c0365c9143ad6efdc566ac9d93fd8 (patch)
treefc04f3dc24120507a592fbf859b97d7eebdfc3c5 /src/backend/executor/nodeModifyTable.c
parent3ef1a682d5e4a919dcaddc8256ea65de91654d1c (diff)
downloadpostgresql-43797ed42a7c0365c9143ad6efdc566ac9d93fd8.tar.gz
postgresql-43797ed42a7c0365c9143ad6efdc566ac9d93fd8.zip
Create new ParseExprKind for use by policy expressions.
Policy USING and WITH CHECK expressions were using EXPR_KIND_WHERE for parse analysis, which results in inappropriate ERROR messages when the expression contains unsupported constructs such as aggregates. Create a new ParseExprKind called EXPR_KIND_POLICY and tailor the related messages to fit. Reported by Noah Misch. Reviewed by Dean Rasheed, Alvaro Herrera, and Robert Haas. Back-patch to 9.5 where RLS was introduced.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions