Use plurals (TABLES, FUNCTIONS, etc) in ALTER DEFAULT PRIVILEGES. We have
Tom Lane <tgl@sss.pgh.pa.us>
Use plurals (TABLES, FUNCTIONS, etc) in ALTER DEFAULT PRIVILEGES. We have the keywords as a consequence of the GRANT ALL patch, so we might as well use them and make the ALTER commands read more naturally.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_default_privileges.sgml | modified | +12 −12 |
| src/backend/parser/gram.y | modified | +6 −6 |
| src/bin/pg_dump/dumputils.c | modified | +11 −6 |
| src/bin/pg_dump/pg_dump.c | modified | +5 −5 |
| src/test/regress/expected/privileges.out | modified | +5 −5 |
| src/test/regress/sql/privileges.sql | modified | +5 −5 |