Re: Proposal: SELECT * EXCLUDE (...) command

From: Kacper Kuras <kacperkuras(at)hotmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Christoph Berg <myon(at)debian(dot)org>, Robert Treat <rob(at)xzilla(dot)net>, Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
Subject: Re: Proposal: SELECT * EXCLUDE (...) command
Date: 2026-12-04 20:42:22
Message-ID: VI0P193MB31111CDE04A06D43CBD495DBBF4A2@VI0P193MB3111.EURP193.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Peter,

> It would be nice to get some kind of update regarding this
> feature in SQL Standard to see if we are going in the
> right direction.

Two questions about the accepted text:

1. v4 handles ambiguous names differently from BCN-036R1: an
unqualified name that matches columns from more than one table
excludes all of them instead of raising an error (example 6). Is
it still an error in the accepted text?

2. Does the standard say anything about privileges on the excluded
columns? v4 requires none.

Regards,
Kacper Kuras

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-12-04 20:44:19 Re: Compute the distance between a point and a box exactly
Previous Message Kacper Kuras 2026-12-04 20:39:06 Re: Proposal: SELECT * EXCLUDE (...) command