Re: merge two rows where value are null

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: merge two rows where value are null
Дата
Msg-id 46C174AB.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: merge two rows where value are null  (giuseppe.derossi@email.it)
Список pgsql-admin
>>> On Tue, Aug 14, 2007 at  8:48 AM, in message
<b1a365afcf3059983eecc3db74a3cadf@83.225.75.94>, <giuseppe.derossi@email.it>
wrote:
> I was studying a solution which foresees the 'case when' construct...
> now I can use it in addition to  array_to_string . In fact my solution
> failed too if <it's raining cats and dogs :-) >, but if there are some more
> values I get them all as well.

Is there a timestamp, date, or sequence number that you can use to break
ties?  Without something like that, I don't think you can do what you want
with set-based logic -- you would need to do something procedural without
any guarantee that you'd get the same results in two different runs.

-Kevin




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

Предыдущее
От: Lew
Дата:
Сообщение: Re: Downloading PostgreSQL source code version 7.1 through CVS
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: postmaster.pid file