BUG #18117: View definitions were changed in version 16 (missing column qualifiers)

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: ariel(at)mashraki(dot)co(dot)il
Subject: BUG #18117: View definitions were changed in version 16 (missing column qualifiers)
Date: 2023-09-20 09:08:31
Message-ID: 18117-972f125de280aa93@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18117
Logged by: Ariel Mashraki
Email address: ariel(at)mashraki(dot)co(dot)il
PostgreSQL version: 16.0
Operating system: Mac
Description:

I'm not sure if this change was intentional since it wasn't mentioned in the
release notes, or at least, I couldn't find it there. Running the three
statements below in version 16 produces ~different results from those in all
versions before 16. I checked this against versions 11, 12, ... 15

Statements:
create table t(c int);
create view v(c) as select c from t;
select view_definition from information_schema.views where table_name='v';

Result in previous versions:
SELECT t.c FROM t;

Result in the latest version:
SELECT c FROM t;

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-09-20 09:31:41 BUG #18118: bug report for COMMIT AND CHAIN feature
Previous Message Alvaro Herrera 2023-09-20 08:26:07 Re: BUG #18112: pgstattuple of sequence failed