summaryrefslogtreecommitdiff
path: root/src/include/pgtar.h
diff options
context:
space:
mode:
authorMichael Paquier2024-09-23 23:59:08 +0000
committerMichael Paquier2024-09-23 23:59:08 +0000
commitbbba59e69a56e1622e270f5e47b402c3a904cefc (patch)
tree3d6327980c526a2634baabd827c26926be4c6c9e /src/include/pgtar.h
parent75240f65e700d7d157be27653c70fe75108f25c1 (diff)
Remove ATT_TABLE for ALTER TABLE ... ATTACH/DETACH
Attempting these commands for a non-partitioned table would result in a failure when creating the relation in transformPartitionCmd(). This gives the possibility to throw an error earlier with a much better error message, thanks to d69a3f4d70b7. The extra test cases are from me. Note that FINALIZE uses a different subcommand and it had no coverage for its failure path with non-partitioned tables. Author: Álvaro Herrera, Michael Paquier Reviewed-by: Nathan Bossart Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include/pgtar.h')
0 files changed, 0 insertions, 0 deletions