]> 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:20 +0000 (09:57 -0300)
commita2102e1a92bf0b485487b0582f2efaa9ff025556
treec72f0a24b3a87389461be76db9f03c5a70134822
parent3c3450e74ff8d0b7d4952003ad8c8ecab08a0ef8
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