From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | lockhart(at)alumni(dot)caltech(dot)edu (Thomas Lockhart) |
Cc: | djerius(at)cfa(dot)harvard(dot)edu, pgsql-ports(at)postgreSQL(dot)org |
Subject: | Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored |
Date: | 1999-04-26 16:20:18 |
Message-ID: | 199904261620.MAA23503@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
> > > In psql, if a list of entries in an IN ( ) statement is
> > > split across several lines, missing commas are not
> > > flagged as errors, but the entries immediately before
> > > and after the missing comma are ignored
> > Does anyone want to guess on a cause?
>
> *raises hand* I know! I know!!
>
> You are seeing the allowed, accepted, and required string
> concatenation feature of SQL92:
>
> postgres=> select
> postgres-> 'hi'
> postgres-> ' there';
> ?column?
> --------
> hi there
> (1 row)
Wow, that is interesting, and would have been quite hard to find the
cause. Thanks.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 1999-04-26 17:04:05 | [Fwd: Returned mail: User unknown] |
Previous Message | Thomas Lockhart | 1999-04-26 16:14:27 | Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored |