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

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored
Дата
Msg-id 372490E3.3E62E661@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Port Bug Report: missing commas in IN( ) ignored; bracketing entries ignored