Add explicit regression tests for ALTER TABLE lock levels.
Simon Riggs <simon@2ndQuadrant.com>
Add explicit regression tests for ALTER TABLE lock levels. Use this to catch a couple of lock level assignments that slipped through manual testing, per Peter Eisentraut.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/cluster.c | modified | +4 −4 |
| src/backend/commands/tablecmds.c | modified | +7 −5 |
| src/include/commands/cluster.h | modified | +3 −2 |
| src/test/regress/expected/alter_table.out | modified | +121 −0 |
| src/test/regress/sql/alter_table.sql | modified | +77 −0 |