pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #16224: Postgresql - First columnName is where clause has be double brackets?
2+ messages / 2 participants
[nested] [flat]
* BUG #16224: Postgresql - First columnName is where clause has be double brackets?
@ 2020-01-22 06:15 PG Bug reporting form <noreply@postgresql.org>
2020-01-22 06:29 ` Re: BUG #16224: Postgresql - First columnName is where clause has be double brackets? David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2020-01-22 06:15 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: girisa67@gmail.com
The following bug has been logged on the website:
Bug reference: 16224
Logged by: Girish
Email address: girisa67@gmail.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;
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #16224: Postgresql - First columnName is where clause has be double brackets?
2020-01-22 06:15 BUG #16224: Postgresql - First columnName is where clause has be double brackets? PG Bug reporting form <noreply@postgresql.org>
@ 2020-01-22 06:29 ` David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2020-01-22 06:29 UTC (permalink / raw)
To: girisa67@gmail.com <girisa67@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
On Tuesday, January 21, 2020, PG Bug reporting form <noreply@postgresql.org>
wrote:
> The following bug has been logged on the website:
>
> Bug reference: 16224
> Logged by: Girish
> Email address: girisa67@gmail.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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-01-22 06:29 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 06:15 BUG #16224: Postgresql - First columnName is where clause has be double brackets? PG Bug reporting form <noreply@postgresql.org>
2020-01-22 06:29 ` David G. Johnston <david.g.johnston@gmail.com>
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