forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd69a3f4
committed
Introduce ATT_PARTITIONED_TABLE in tablecmds.c
Partitioned tables and normal tables have been relying on ATT_TABLE inATSimplePermissions() to produce error messages that depend on therelation's relkind, because both relkinds currently support the same setof ALTER TABLE subcommands.A patch to restrict SET LOGGED/UNLOGGED for partitioned tables is underdiscussion, and introducing ATT_PARTITIONED_TABLE makes subcommandrestrictions for partitioned tables easier to deal with, so let's addone. There is no functional change.Author: Michael PaquierReviewed-by: Nathan BossartDiscussion:https://postgr.es/m/Zt6cDnwSvnuLLnak@paquier.xyz1 parent5d56d07 commitd69a3f4
1 file changed
+96
-45
lines changed0 commit comments
Comments
(0)