diff options
author | Joe Conway <mail@joeconway.com> | 2015-07-29 15:37:48 -0700 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2015-07-29 15:40:24 -0700 |
commit | 632cd9f892119858bc5b617bb60c0377a8a2ed13 (patch) | |
tree | a68b80b1cbbccf4b8b42086e9984e651c6956720 /src/backend/executor/nodeFunctionscan.c | |
parent | f04ce3147560de90d5250ae822d8d714b76f61cd (diff) | |
download | postgresql-632cd9f892119858bc5b617bb60c0377a8a2ed13.tar.gz postgresql-632cd9f892119858bc5b617bb60c0377a8a2ed13.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/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions