diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-09-19 12:22:56 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-09-19 12:22:56 +0900 |
commit | d69a3f4d70b7cab328ba5d0944450d87f39c2eb4 (patch) | |
tree | 90bc50854818014a0de6178889c52f529041f570 /src/fe_utils/string_utils.c | |
parent | 5d56d07ca343a467ce74a042c22c963ea2690eaf (diff) | |
download | postgresql-d69a3f4d70b7cab328ba5d0944450d87f39c2eb4.tar.gz postgresql-d69a3f4d70b7cab328ba5d0944450d87f39c2eb4.zip |
Introduce ATT_PARTITIONED_TABLE in tablecmds.c
Partitioned tables and normal tables have been relying on ATT_TABLE in
ATSimplePermissions() to produce error messages that depend on the
relation's relkind, because both relkinds currently support the same set
of ALTER TABLE subcommands.
A patch to restrict SET LOGGED/UNLOGGED for partitioned tables is under
discussion, and introducing ATT_PARTITIONED_TABLE makes subcommand
restrictions for partitioned tables easier to deal with, so let's add
one. There is no functional change.
Author: Michael Paquier
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/Zt6cDnwSvnuLLnak@paquier.xyz
Diffstat (limited to 'src/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions