From 5a9fdc221b14f87a4d87cedbbb88fa677176b551 Mon Sep 17 00:00:00 2001 From: Naisila Puka <37271756+naisila@users.noreply.github.com> Date: Fri, 19 Aug 2022 11:39:18 +0300 Subject: [PATCH] Add explicit alias to avoid debug output diff in pg15 (#6183) --- src/test/regress/expected/local_table_join.out | 4 ++-- src/test/regress/sql/local_table_join.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/regress/expected/local_table_join.out b/src/test/regress/expected/local_table_join.out index 90737a2ed..99ab23efc 100644 --- a/src/test/regress/expected/local_table_join.out +++ b/src/test/regress/expected/local_table_join.out @@ -1357,7 +1357,7 @@ select typdefault from ( where typdefault > 'a' limit 1) as subq_0 where ( - select true from pg_catalog.pg_am limit 1 + select true as bool from pg_catalog.pg_am limit 1 ) ) as subq_1 ) as subq_2; @@ -1387,7 +1387,7 @@ select typdefault from ( where typdefault > 'a' limit 1) as subq_0 where ( - select true from pg_catalog.pg_am limit 1 + select true as bool from pg_catalog.pg_am limit 1 ) ) as subq_1 ) as subq_2; diff --git a/src/test/regress/sql/local_table_join.sql b/src/test/regress/sql/local_table_join.sql index 5eb9ece3f..d6f305d41 100644 --- a/src/test/regress/sql/local_table_join.sql +++ b/src/test/regress/sql/local_table_join.sql @@ -359,7 +359,7 @@ select typdefault from ( where typdefault > 'a' limit 1) as subq_0 where ( - select true from pg_catalog.pg_am limit 1 + select true as bool from pg_catalog.pg_am limit 1 ) ) as subq_1 ) as subq_2; @@ -376,7 +376,7 @@ select typdefault from ( where typdefault > 'a' limit 1) as subq_0 where ( - select true from pg_catalog.pg_am limit 1 + select true as bool from pg_catalog.pg_am limit 1 ) ) as subq_1 ) as subq_2;