From: Tom Lane <tgl@sss.pgh.pa.us>
To: alexandrebailly1955@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19003: A SELECT that does not return a valid table
Date: Wed, 30 Jul 2025 17:34:41 -0400
Message-ID: <1675174.1753911281@sss.pgh.pa.us> (raw)
In-Reply-To: <19003-17a559220b959ea1@postgresql.org>
References: <19003-17a559220b959ea1@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> SELECT 'John' AS nom,'James' AS nom
> returns a table with attributes nom and nom that I can see in the output.
> Returning a table that contains twice the same column should not be
> permitted.
There is pretty much zero chance that we will enforce that
restriction. It would break too much application code.
Also, it looks to me like there is no such requirement in
the SQL standard.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, alexandrebailly1955@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19003: A SELECT that does not return a valid table
In-Reply-To: <1675174.1753911281@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox