postgresql/contrib/pg_surgery
Peter Eisentraut afbfc02983 Refactor ownercheck functions
Instead of dozens of mostly-duplicate pg_foo_ownercheck() functions,
write one common function object_ownercheck() that can handle almost
all of them.  We already have all the information we need, such as
which system catalog corresponds to which catalog table and which
column is the owner column.

Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Reviewed-by: Antonin Houska <ah@cybertec.at>
Discussion: https://www.postgresql.org/message-id/flat/95c30f96-4060-2f48-98b5-a4392d3b6066@enterprisedb.com
2022-11-13 08:12:37 +01:00
..
expected Improve error messages about mismatching relkind 2021-07-08 09:44:51 +02:00
sql pg_surgery: Try to stabilize regression tests. 2020-09-18 13:26:48 -04:00
.gitignore New contrib module, pg_surgery, with heap surgery functions. 2020-09-10 11:14:07 -04:00
Makefile New contrib module, pg_surgery, with heap surgery functions. 2020-09-10 11:14:07 -04:00
heap_surgery.c Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
meson.build meson: Add windows resource files 2022-10-05 09:56:05 -07:00
pg_surgery--1.0.sql Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_surgery.control New contrib module, pg_surgery, with heap surgery functions. 2020-09-10 11:14:07 -04:00