BUG #1522: there's a syntax error using psql, distinct

Поиск
Список
Период
Сортировка
От DIEGO URRA
Тема BUG #1522: there's a syntax error using psql, distinct
Дата
Msg-id 20050303191527.50982F14B7@svr2.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #1522: there's a syntax error using psql, distinct  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1522
Logged by:          DIEGO URRA
Email address:      diegomann@yahoo.com
PostgreSQL version: 8.0
Operating system:   REDHAT 6.2
Description:        there's a syntax error using psql, distinct
Details:

hi!

select distinct(id) from results;
works fine

select distinct(id) || 'xyz' from results;
works fine

select 'abc' || distinct(id) || 'xyz' from resuls;
syntax error

is this a bug? thanks in advance
DIEGO URRA

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

Предыдущее
От: "Al Torres"
Дата:
Сообщение: BUG #1519: server closed the connection unexpectedly
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: BUG #1522: there's a syntax error using psql, distinct