Re: possible bug in SELECT with UNION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: possible bug in SELECT with UNION
Дата
Msg-id 3251.1147376845@sss.pgh.pa.us
обсуждение исходный текст
Ответ на possible bug in SELECT with UNION  (Dario Basso Cardoso <cardosodario@itelefonica.com.br>)
Ответы Re: possible bug in SELECT with UNION  (Dario Basso Cardoso <cardosodario@itelefonica.com.br>)
Список pgsql-bugs
Dario Basso Cardoso <cardosodario@itelefonica.com.br> writes:
> I receive two (2) rows if i union with other table i receive one (1) row!!!

You do know that UNION is defined to eliminate duplicate output rows?
(UNION ALL doesn't eliminate duplicates, and might be what you want.)

If that's not what you're seeing then you need to provide more info.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SIGSEGV happens over once a day
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2428: ERROR: out of memory, running INSERT SELECT statement