]> git.ipfire.org Git - thirdparty/postgresql.git/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:57:04 +0000 (09:57 -0300)
commit91797fa43817b1a29bf783df7479915e89770fe6
tree726ec6c00c079b4247e8571b83a7e0ffd5448508
parent8e3f3ab5b85a230e9a008c743402c3e5a43085a1
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