Re: proposal: searching in array function - array_position

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: proposal: searching in array function - array_position
Дата
Msg-id 5500B891.8070706@BlueTreble.com
обсуждение исходный текст
Ответ на 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>)
Список pgsql-hackers
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.
+  */
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: searching in array function - array_position
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: procost for to_tsvector