]> granicus.if.org Git - postgresql/commit
test_ddl_deparse: Don't use pg_class as source for a matview
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Mar 2018 12:51:12 +0000 (09:51 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Mar 2018 12:56:32 +0000 (09:56 -0300)
commit35a80c95c51e1184921ff743627f932f0ed7b42e
treed78da586115d4f10664be580766ba05856eae4c3
parent837d4f739ccf16091d41649a9d22d7e911636a3b
test_ddl_deparse: Don't use pg_class as source for a matview

Doing so causes a pg_upgrade of a database containing these objects to
fail whenever pg_class changes.  And it's pointless anyway: we have more
interesting tables anyhow.

Discussion: https://postgr.es/m/CAD5tBc+s8pW9WvH2+_z=B4x95FD4QuzZKcaMpff_9H4rS0VU1A@mail.gmail.com
src/test/modules/test_ddl_deparse/expected/matviews.out
src/test/modules/test_ddl_deparse/sql/matviews.sql