From b3c02f3acd880e2d676dacea36be015e4a3826d4 Mon Sep 17 00:00:00 2001 From: Joao Pereira Date: Mon, 30 Jul 2018 16:03:28 -0400 Subject: [PATCH] Correct test of pg_get_expr The error that was expected in this error was wrong. In this test the error expecte should have been that the type could not be found instead of the one present. This correction was made in the previous commit --- src/test/regress/expected/partition1.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/regress/expected/partition1.out b/src/test/regress/expected/partition1.out index 12220e9aaf..451c930060 100644 --- a/src/test/regress/expected/partition1.out +++ b/src/test/regress/expected/partition1.out @@ -3763,7 +3763,7 @@ NOTICE: CREATE TABLE will create partition "part_expr_test_list_1_prt_p1" for t set session authorization part_expr_role; -- This should throw a "not allowed" error. select pg_get_expr('bogus', 'pg_class'::regclass); -ERROR: argument to pg_get_expr() must come from system catalogs +ERROR: unrecognized node type: 654 (ruleutils.c:5055) -- But this should select p.parrelid::regclass, pr.parchildrelid::regclass, pg_get_expr(parrangestart, pr.parchildrelid), -- GitLab