Re: proposal: searching in array function - array_position

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: proposal: searching in array function - array_position
Дата
Msg-id 20150318190351.GA3636@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: proposal: searching in array function - array_position  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: searching in array function - array_position  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proposal: searching in array function - array_position  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
Pavel Stehule wrote:
> 2015-03-18 12:41 GMT+01:00 Marko Tiikkaja <marko@joh.to>:

> >> I am thinking, so this behave is correct (there is no other
> >> possible), but it is only corner case for this functionality - and
> >> if you are thinking, so better to disallow it, I am not against. My
> >> main focus is 1ND array.
> >
> > A nonsensical answer for multi-dimensional arrays is worse than no answer
> > at all.  I think raising an exception is better.
> >
> 
> I have not problem with it.

Pushed after adding error checks there and fixing the docs to match.
Please verify.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: patch : Allow toast tables to be moved to a different tablespace
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0