ALTER TABLE: rework determination of access method ID
Alvaro Herrera <alvherre@alvh.no-ip.org>
ALTER TABLE: rework determination of access method ID Avoid setting an access method OID for relation kinds that don't take one. Code review for new feature added in 374c7a229042. Author: Justin Pryzby <pryzby@telsasoft.com> Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/e5516ac1-5264-c3c0-d822-9e6f614ea93b@gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +15 −11 |
| src/test/regress/expected/create_am.out | modified | +3 −0 |
| src/test/regress/sql/create_am.sql | modified | +3 −0 |
Discussion
- ALTER TABLE SET ACCESS METHOD on partitioned tables 70 messages · 2022-05-18 → 2024-07-02