summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-15 15:14:15 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-15 15:21:32 -0300
commiteb1c481ac3975574c1709042efe2c6c32a937a23 (patch)
tree3acb4951afeadabf2cb906b790706869f79525a1 /src
parent91797fa43817b1a29bf783df7479915e89770fe6 (diff)
test_ddl_deparse: rename matview
Should have done this in e69f5e0efca ... Per note from Tom Lane.
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_ddl_deparse/expected/matviews.out4
-rw-r--r--src/test/modules/test_ddl_deparse/sql/matviews.sql4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/modules/test_ddl_deparse/expected/matviews.out b/src/test/modules/test_ddl_deparse/expected/matviews.out
index 4ac2cc83253..69a5627a4b6 100644
--- a/src/test/modules/test_ddl_deparse/expected/matviews.out
+++ b/src/test/modules/test_ddl_deparse/expected/matviews.out
@@ -1,8 +1,8 @@
--
-- Materialized views
--
-CREATE MATERIALIZED VIEW pg_class_mv AS
+CREATE MATERIALIZED VIEW ddl_deparse_mv AS
SELECT * FROM datatype_table LIMIT 1 WITH NO DATA;
NOTICE: DDL test: type simple, tag CREATE MATERIALIZED VIEW
-REFRESH MATERIALIZED VIEW pg_class_mv;
+REFRESH MATERIALIZED VIEW ddl_deparse_mv;
NOTICE: DDL test: type simple, tag REFRESH MATERIALIZED VIEW
diff --git a/src/test/modules/test_ddl_deparse/sql/matviews.sql b/src/test/modules/test_ddl_deparse/sql/matviews.sql
index 990082934e3..6e22c52a4da 100644
--- a/src/test/modules/test_ddl_deparse/sql/matviews.sql
+++ b/src/test/modules/test_ddl_deparse/sql/matviews.sql
@@ -2,7 +2,7 @@
-- Materialized views
--
-CREATE MATERIALIZED VIEW pg_class_mv AS
+CREATE MATERIALIZED VIEW ddl_deparse_mv AS
SELECT * FROM datatype_table LIMIT 1 WITH NO DATA;
-REFRESH MATERIALIZED VIEW pg_class_mv;
+REFRESH MATERIALIZED VIEW ddl_deparse_mv;