diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-09-22 19:02:25 +0200 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-09-22 19:02:25 +0200 |
| commit | f256236fb1b00e9d05f889a53e93feeecbd50991 (patch) | |
| tree | ac571177516b220cff0b9d85cf15db5687048dda /doc/src/sgml/system-views.sgml | |
| parent | 5f56933ea5d5b0b1a0bbe4c7b8f5110f8fe256ed (diff) | |
Remove ALL keyword from TABLES IN SCHEMA for publication
This may be a bit too subtle, but removing that word from there makes
this clause no longer a perfect parallel of the GRANT variant "ALL
TABLES IN SCHEMA": indeed, for publications what we record is the schema
itself, not the tables therein, which means that any tables added to the
schema in the future are also published. This is completely different
to what GRANT does, which is affect only the tables that exist when the
command is executed.
There isn't resounding support for this change, but there are a few
positive votes and no opposition. Because the time to 15 RC1 is very
short, let's get this out now.
Backpatch to 15.
Discussion: https://postgr.es/m/2729c9e2-9aac-8cda-f2f4-34f2bcc18f4e
Diffstat (limited to 'doc/src/sgml/system-views.sgml')
| -rw-r--r-- | doc/src/sgml/system-views.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index e01ddb5c76a..f8b60469993 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -2090,7 +2090,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx tables they contain. Unlike the underlying catalog <link linkend="catalog-pg-publication-rel"><structname>pg_publication_rel</structname></link>, this view expands publications defined as <literal>FOR ALL TABLES</literal> - and <literal>FOR ALL TABLES IN SCHEMA</literal>, so for such publications + and <literal>FOR TABLES IN SCHEMA</literal>, so for such publications there will be a row for each eligible table. </para> |
