postgresql/src
Peter Eisentraut 369f09e420 Refactor ExecGrant_*() functions
Instead of half a dozen of mostly-duplicate ExecGrant_Foo() functions,
write one common function ExecGrant_generic() that can handle most 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 ACL column.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Antonin Houska <ah@cybertec.at>
Discussion: https://www.postgresql.org/message-id/flat/22c7e802-4e7d-8d87-8b71-cba95e6f4bcf%40enterprisedb.com
2022-12-13 07:52:04 +01:00
..
backend Refactor ExecGrant_*() functions 2022-12-13 07:52:04 +01:00
bin Remove extra space from dumped ALTER DEFAULT PRIVILEGES. 2022-12-12 09:49:24 -08:00
common Convert json_in and jsonb_in to report errors softly. 2022-12-11 11:28:15 -05:00
fe_utils meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
include Get rid of recursion-marker values in enum AlterTableType 2022-12-12 11:13:26 +01:00
interfaces Order getopt arguments 2022-12-12 15:20:00 +01:00
makefiles meson: Add basic PGXS compatibility 2022-12-06 18:56:46 -08:00
pl Allow building with MSVC and Strawberry perl 2022-11-25 15:28:38 -05:00
port meson: Basic cygwin support 2022-12-06 11:25:54 -08:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Fix jsonb subscripting to cope with toasted subscript values. 2022-12-12 16:17:54 -05:00
timezone Remove unneeded includes of <sys/stat.h> 2022-11-05 12:31:28 +09:00
tools Create infrastructure for "soft" error reporting. 2022-12-09 09:58:38 -05:00
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build meson: Add basic PGXS compatibility 2022-12-06 18:56:46 -08:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00