[MASSMAIL]pgsql: ALTER TABLE: rework determination of access method ID
[MASSMAIL]pgsql: 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 Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/e5516ac1-5264-c3c0-d822-9e6f614ea93b@gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e2395cdbe83adc50ac03dd17474ee88c5a97359a Modified Files -------------- src/backend/commands/tablecmds.c | 26 +++++++++++++++----------- src/test/regress/expected/create_am.out | 3 +++ src/test/regress/sql/create_am.sql | 3 +++ 3 files changed, 21 insertions(+), 11 deletions(-)