array_remove(anyarray, anyarray)

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема array_remove(anyarray, anyarray)
Дата
Msg-id 566A1814.1030802@BlueTreble.com
обсуждение исходный текст
Ответы BEGINNER HACKERS: array_remove(anyarray, anyarray)  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Recently I had need of removing occurrences of a number of values from 
an array. Obviously I could have nested array_remove() call or wrapped 
the whole thing in a SELECT unnest(), but that seems rather silly and 
inefficient.

Any one have objections to changing array_replace_internal() to make 
search and repalace arrays instead of Datums?
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Fwd: [GENERAL] pgxs/config/missing is... missing
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Error with index on unlogged table