Re: BUG #16224: Postgresql - First columnName is where clause has be double brackets?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "girisa67(at)gmail(dot)com" <girisa67(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16224: Postgresql - First columnName is where clause has be double brackets?
Date: 2020-01-22 06:29:42
Message-ID: CAKFQuwZswj2_HuB66LN+dF28PReXA0CEsGE3Gc1h69vqCFJUFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tuesday, January 21, 2020, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16224
> Logged by: Girish
> Email address: girisa67(at)gmail(dot)com
> PostgreSQL version: 10.0
> Operating system: Windows 10
> Description:
>
> Hi,
>
> In Postgresql SELECT query first columnName should be enclosed with in
> double quotes("columnname") and second column not required to enclose in
> double quotes. Is that a bug with postgresql?
>
> SELECT DISTINCT * FROM tabelName WHERE "CommodityId" = 1 AND column2 = 1;

Don’t really understand the question but its probably not a bug.

https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-01-22 06:49:43 BUG #16225: EL8 - PGDG postgresql* packages conflict with appstream postgresql packages
Previous Message PG Bug reporting form 2020-01-22 06:15:47 BUG #16224: Postgresql - First columnName is where clause has be double brackets?