Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
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:14:27
Message-ID: 372490E3.3E62E661@alumni.caltech.edu
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)

:)

- Tom

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-04-26 16:20:18 Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored
Previous Message Bruce Momjian 1999-04-26 16:05:50 Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored