aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2023-01-19 12:54:15 +0100
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2023-01-19 12:54:15 +0100
commit438e6b7240905c8055f9e221187f2ac818876169 (patch)
tree4e21205d2d7b5e7fcb5ad5b958097d83a9ae7ea3 /src/backend/utils/adt/jsonb.c
parent48880840f18cb75fcaecc77b5e7816b92c27157b (diff)
downloadpostgresql-438e6b7240905c8055f9e221187f2ac818876169.tar.gz
postgresql-438e6b7240905c8055f9e221187f2ac818876169.zip
Remove some dead code in selfuncs.c
RelOptInfo.userid is the same for all relations in a given inheritance tree, so the code in examine_variable() and example_simple_variable() that repeats the ACL checks on the root parent rel instead of a given leaf child relations need not recompute userid too. Author: Amit Langote <amitlangote09@gmail.com> Reported-by: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20221210201753.GA27893@telsasoft.com
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions