Improve handling of SET ACCESS METHOD for ALTER MATERIALIZED VIEW
Michael Paquier <michael@paquier.xyz>
Improve handling of SET ACCESS METHOD for ALTER MATERIALIZED VIEW b048326 has added support for SET ACCESS METHOD in ALTER TABLE, but it has missed a few things for materialized views: - No documentation for this clause on the ALTER MATERIALIZED VIEW page. - psql tab completion missing. - No regression tests. This commit closes the gap on all the points listed above. Author: Yugo Nagata Discussion: https://postgr.es/m/20220316133337.5dc9740abfa24c25ec9f67f5@sraoss.co.jp
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_materialized_view.sgml | modified | +1 −0 |
| src/bin/psql/tab-complete.c | modified | +5 −1 |
| src/test/regress/expected/create_am.out | modified | +26 −0 |
| src/test/regress/sql/create_am.sql | modified | +10 −0 |
Documentation touched
Discussion
- Tab completion for ALTER MATERIALIZED VIEW ... SET ACCESS METHOD 6 messages · 2022-03-16 → 2022-03-22