Re: Is this a bug ?

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: Is this a bug ?
Дата
Msg-id 1DAF2F6A-31A8-4376-A4E3-C33111B6B3F8@aol.com
обсуждение исходный текст
Ответ на Re: Is this a bug ?  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: Is this a bug ?  (John W Higgins <wishdev@gmail.com>)
Список pgsql-general
>
> Simplify:
>
> select 'a'
> db-# 'b';
> ?column?
> ----------
> ab
> (1 row)
>
> This is not a bug.
>
> https://www.postgresql.org/docs/9.2/sql-syntax-lexical.html
>
> Two string constants that are only separated by whitespace with at
> least one newline are concatenated and effectively treated as if the
> string had been written as one constant.
>
> Geoff

Shouldn't the output be 4 in that case since it is looking for('a','b','cd','e') and it should find all but cd.



В списке pgsql-general по дате отправления:

Предыдущее
От: Geoff Winkless
Дата:
Сообщение: Re: Is this a bug ?
Следующее
От: Ron
Дата:
Сообщение: Re: Is this a bug ?