Re: proposal: searching in array function - array_position

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: searching in array function - array_position
Дата
Msg-id CAFj8pRDgLRQYF_8Dz4i4g3TKbfPdNUmCcCin5thR+PgT+_hd6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: searching in array function - array_position  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: proposal: searching in array function - array_position  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers


2015-03-11 22:50 GMT+01:00 Jim Nasby <Jim.Nasby@bluetreble.com>:
On 3/11/15 4:37 PM, Pavel Stehule wrote:
+ /*
+  * array_offset - returns the offset of a value in an array (array_offset and
+  * array_offset_start are wrappers for safe call (look on opr_sanity test) a
+  * array_offset_common function.
+  *
+  * Returns NULL when value is not found. It uses a "NOT DISTINCT FROM" operator
+  * for comparation to be safe against NULL.
+  */

would be better as...

+ /*
+  * array_offset - returns the offset of a value in an array. array_offset and
+  * array_offset_start are wrappers for the sake of the opr_sanity test.
+  *
+  * Returns NULL when value is not found. It uses a "NOT DISTINCT FROM" operator
+  * for comparation to be safe against NULL.
+  */

fixed

Regards

Pavel
 

--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: pg_rewind in contrib
Следующее
От: Julien Tachoires
Дата:
Сообщение: Re: patch : Allow toast tables to be moved to a different tablespace