summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorAlvaro Herrera2023-01-19 11:54:15 +0000
committerAlvaro Herrera2023-01-19 11:54:15 +0000
commit438e6b7240905c8055f9e221187f2ac818876169 (patch)
tree4e21205d2d7b5e7fcb5ad5b958097d83a9ae7ea3 /src/include/postgres.h
parent48880840f18cb75fcaecc77b5e7816b92c27157b (diff)
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/include/postgres.h')
0 files changed, 0 insertions, 0 deletions