pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David <stormbyte@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13655: Incorrect Syntax Error
Date: Thu, 01 Oct 2015 11:46:47 -0400
Message-ID: <17682.1443714407@sss.pgh.pa.us> (raw)
In-Reply-To: <20151001100541.29dfdb38@Zero.StormByte.org>
References: <20150930192526.359.78719@wrigleys.postgresql.org>
	<CAJrrPGcUHwY6_PYhQXcuPKPm01--FzNDnxuRigLnbGs2uPSFpw@mail.gmail.com>
	<CAKFQuwbgc3Zrd1H7MRYNAVcumv=M_oB3FtsiwQAfd5feL4Ffig@mail.gmail.com>
	<CAJrrPGd7rBcHtS+ZG3TkRdANn4cLqXDmLbXb1BRxGNcFgQXCmA@mail.gmail.com>
	<13218.1443674688@sss.pgh.pa.us>
	<20151001100541.29dfdb38@Zero.StormByte.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

David <stormbyte@gmail.com> writes:
> Isn't it inconsistent that a thing like: "someField"SMALLINT works
> whether a thing like: "someField""SomeCustomType" is not working?

Well, you can debate how consistent it is, but that behavior is required
by SQL standard.  Per spec, "foo""bar" is a single identifier containing
an embedded double quote (just one).  It's not two adjacent tokens,
whereas "foo"keyword does represent two tokens.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)

Message-ID: <17682.1443714407@sss.pgh.pa.us>
Permalink:  ../17682.1443714407@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17682.1443714407@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stormbyte@gmail.com
  Subject: Re: BUG #13655: Incorrect Syntax Error
  In-Reply-To: <17682.1443714407@sss.pgh.pa.us>
  References: <20150930192526.359.78719@wrigleys.postgresql.org> <CAJrrPGcUHwY6_PYhQXcuPKPm01--FzNDnxuRigLnbGs2uPSFpw@mail.gmail.com> <CAKFQuwbgc3Zrd1H7MRYNAVcumv=M_oB3FtsiwQAfd5feL4Ffig@mail.gmail.com> <CAJrrPGd7rBcHtS+ZG3TkRdANn4cLqXDmLbXb1BRxGNcFgQXCmA@mail.gmail.com> <13218.1443674688@sss.pgh.pa.us> <20151001100541.29dfdb38@Zero.StormByte.org> <17682.1443714407@sss.pgh.pa.us>

* 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