diff -U3 /Users/john/pgtest/master/build/../../../pgdev/postgres/src/test/regress/expected/alter_table.out /Users/john/pgtest/master/build/src/test/regress/results/alter_table.out --- /Users/john/pgtest/master/build/../../../pgdev/postgres/src/test/regress/expected/alter_table.out 2019-03-14 09:07:56.000000000 +0800 +++ /Users/john/pgtest/master/build/src/test/regress/results/alter_table.out 2019-04-25 15:03:05.000000000 +0800 @@ -1431,20 +1431,19 @@ ERROR: column "........pg.dropped.1........" does not exist -- test create as and select into insert into atacc1 values (21, 22, 23); +ERROR: could not read block 0 in file "base/16384/31379": read only 0 of 8192 bytes create table attest1 as select * from atacc1; select * from attest1; - b | c | d -----+----+---- - 21 | 22 | 23 -(1 row) + b | c | d +---+---+--- +(0 rows) drop table attest1; select * into attest2 from atacc1; select * from attest2; - b | c | d -----+----+---- - 21 | 22 | 23 -(1 row) + b | c | d +---+---+--- +(0 rows) drop table attest2; -- try dropping all columns @@ -1453,7 +1452,7 @@ alter table atacc1 drop b; select * from atacc1; -- -(1 row) +(0 rows) drop table atacc1; -- test constraint error reporting in presence of dropped columns