Re: END is not a reserved word

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Vicky Vergara <vicky_vergara(at)hotmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: END is not a reserved word
Date: 2025-08-26 00:53:57
Message-ID: CAKFQuwb37AOKqm=w0ymq99iW1UT1K2OB6SaTwEZZxOsiFtFqug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 25, 2025 at 3:49 PM Vicky Vergara <vicky_vergara(at)hotmail(dot)com>
wrote:

> On the list of reserved words, END is marked as reserved.
> https://www.postgresql.org/docs/current/sql-keywords-appendix.html
>

The text on that page notes a couple of times that using reserved words as
column labels is accepted - with the only caveat being sometimes you have
to use 'AS'.

There may be some that do not get accepted for some reason or other but
it's always OK if they are accepted as column labels.

David J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2025-08-26 00:57:24 Re: Test instability when pg_dump orders by OID
Previous Message Masahiko Sawada 2025-08-26 00:48:49 Re: Use LW_SHARED in WakeupWalSummarizer() for WALSummarizerLock lock