pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <sr_krishna@aol.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Is this a bug ?
Date: Wed, 23 Oct 2019 15:51:00 -0400
Message-ID: <1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com> (raw)
In-Reply-To: <CAJycT5pCxDcVK8X9Lte4VkjT52cayvT2Ns+zD-RyyBGZ3HSB0w@mail.gmail.com>
References: <6048315C-CE0E-482F-9F48-B300E4D7AC52@aol.com>
	<CAEzk6fdPCjF0HkbL_8NMRQHKR2k_sRNCAc67jeqBQMO0hTU3xQ@mail.gmail.com>
	<9df3ba0d-974d-f13d-ec91-bc22c3ab362b@gmail.com>
	<24295.1571846414@sss.pgh.pa.us>
	<a2122ac3-2aaf-d69a-bdc8-e9bf0c7b5b55@gmail.com>
	<CAEzk6fejkodG2RCY9kjeD=a+X9+-iD4h5tSL576n529rNwFs8Q@mail.gmail.com>
	<20191023190334.GB26674@hjp.at>
	<CAJycT5pCxDcVK8X9Lte4VkjT52cayvT2Ns+zD-RyyBGZ3HSB0w@mail.gmail.com>

So reading responses from all, here is a SQL test I did on few RDBMS:


select 'John'
           'Doe' as rrr
from information_schema.tables
limit 1;

PG output

rrr
---
JohnDoe

Oracle and mysql gave same output as PG with no error

SQLServer: Syntax error near 'as'.
DB2 gave same error as SQLServer.






view thread (35+ messages)  latest in thread

Message-ID: <1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com>
Permalink:  ../1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com/
Also on:    postgresql.org/message-id/1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: sr_krishna@aol.com
  Subject: Re: Is this a bug ?
  In-Reply-To: <1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com>
  References: <6048315C-CE0E-482F-9F48-B300E4D7AC52@aol.com> <CAEzk6fdPCjF0HkbL_8NMRQHKR2k_sRNCAc67jeqBQMO0hTU3xQ@mail.gmail.com> <9df3ba0d-974d-f13d-ec91-bc22c3ab362b@gmail.com> <24295.1571846414@sss.pgh.pa.us> <a2122ac3-2aaf-d69a-bdc8-e9bf0c7b5b55@gmail.com> <CAEzk6fejkodG2RCY9kjeD=a+X9+-iD4h5tSL576n529rNwFs8Q@mail.gmail.com> <20191023190334.GB26674@hjp.at> <CAJycT5pCxDcVK8X9Lte4VkjT52cayvT2Ns+zD-RyyBGZ3HSB0w@mail.gmail.com> <1FA8DFD3-6E20-43FD-8EE1-790A00925E41@aol.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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