aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-01-17 20:03:35 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-01-17 20:06:06 +0100
commit2a1d7071c4ed750abb8b39436bb89c7d152bddb8 (patch)
tree5b40fd0fea3cfa6875b82778335322be75511a2c /contrib/postgres_fdw/postgres_fdw.c
parent13b345df6438f222daf56eee86cb272628d1f1c3 (diff)
downloadpostgresql-2a1d7071c4ed750abb8b39436bb89c7d152bddb8.tar.gz
postgresql-2a1d7071c4ed750abb8b39436bb89c7d152bddb8.zip
Refactor recordExtObjInitPriv()
Instead of half a dozen of mostly-duplicate conditional branches, write one common one that can handle most catalogs. We already have all the information we need, such as which system catalog corresponds to which catalog table and which column is the ACL column. Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/504bc485-6bd6-dd1b-fe10-e7351aeb310d@enterprisedb.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions