From: | Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Thomas Kellerer <spam_eater(at)gmx(dot)net>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Unquoted column names fold to lower case |
Date: | 2013-07-03 19:42:44 |
Message-ID: | CALSLE1PGznyeRKzrtAhqnktkMtnQ7ByprmOv-pxuM9EMAD63ow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, Jul 4, 2013 at 12:38 AM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>wrote:
> Aliases are treated just like any other identifier. The downcasing
> happens in the lexer (src/backend/parser/scan.l), which is totally
> unaware of the context in which this is happening; so there's no way to
> tweak the downcasing behavior for only aliases and not other
> identifiers.
>
Oh OK, that makes sense and yes can see through complexity.
So I believe when aliases are quoted then the scan process might be
different and hence quotes aliases TEXT CASE gets preserved.
Regards...
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-07-03 19:47:37 | Re: Unquoted column names fold to lower case |
Previous Message | Alvaro Herrera | 2013-07-03 19:08:31 | Re: Unquoted column names fold to lower case |