Re: array_to_string bug?

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: array_to_string bug?
Дата
Msg-id 20091112180614.GA13922@fetter.org
обсуждение исходный текст
Ответ на Re: array_to_string bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Nov 12, 2009 at 11:20:26AM -0500, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > The next one is just plain unexpected.
> 
> array_to_string ignores null elements.  What do you think it should
> do with them?

It should concatenate them, i.e. return a NULL if the array includes
any NULLs.  That, or it should explain that it doesn't do that because
there's nothing in the docs that would indicate this behavior.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


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

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: next CommitFest
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [RRR] CommitFest 2009-11 Call for Reviewers