aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/gininsert.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2023-09-07 12:15:18 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2023-09-07 12:15:18 +0200
commitac22a9545ca906e70a819b54e76de38817c93aaf (patch)
treeb35b9daf142e921ab878a78f42b9776c7f368f10 /src/backend/access/gin/gininsert.c
parent3af7217942722369a6eb7629e0fb1cbbef889a9b (diff)
downloadpostgresql-ac22a9545ca906e70a819b54e76de38817c93aaf.tar.gz
postgresql-ac22a9545ca906e70a819b54e76de38817c93aaf.zip
Move privilege check to the right place
Now that ATExecDropConstraint doesn't recurse anymore, so it's wrong to test privileges "during recursion" there. Move the check to dropconstraint_internal, which is the place where recursion occurs. In passing, remove now-useless 'recursing' argument to ATExecDropConstraint. Discussion: https://postgr.es/m/202309051744.y4mndw5gwzhh@alvherre.pgsql
Diffstat (limited to 'src/backend/access/gin/gininsert.c')
0 files changed, 0 insertions, 0 deletions