Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored - Mailing list pgsql-ports

From Thomas Lockhart
Subject Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored
Date
Msg-id 372490E3.3E62E661@alumni.caltech.edu
Whole thread Raw
In response to Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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)

:)

                         - Tom

--
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California

pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored
Next
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored