git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ba50834) | patch
Remove ALL keyword from TABLES IN SCHEMA for publication
2022年9月22日 17:02:25 +0000 (19:02 +0200)
2022年9月22日 17:02:25 +0000 (19:02 +0200)
commit 790bf615ddba8a0ba3b870915d03438ce9cb7860
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
21 files changed:
doc/src/sgml/logical-replication.sgml diff | blob | blame | history
doc/src/sgml/ref/alter_publication.sgml diff | blob | blame | history
doc/src/sgml/ref/create_publication.sgml diff | blob | blame | history
doc/src/sgml/ref/create_subscription.sgml diff | blob | blame | history
doc/src/sgml/system-views.sgml diff | blob | blame | history
src/backend/catalog/pg_publication.c diff | blob | blame | history
src/backend/commands/publicationcmds.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/replication/pgoutput/pgoutput.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/pg_dump/t/002_pg_dump.pl diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/test/regress/expected/alter_table.out diff | blob | blame | history
src/test/regress/expected/object_address.out diff | blob | blame | history
src/test/regress/expected/publication.out diff | blob | blame | history
src/test/regress/sql/alter_table.sql diff | blob | blame | history
src/test/regress/sql/object_address.sql diff | blob | blame | history
src/test/regress/sql/publication.sql diff | blob | blame | history
src/test/subscription/t/025_rep_changes_for_schema.pl diff | blob | blame | history
src/test/subscription/t/028_row_filter.pl diff | blob | blame | history
src/test/subscription/t/031_column_list.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /