Re: SQL99 ARRAY support proposal

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: SQL99 ARRAY support proposal
Дата
Msg-id 3E70C58B.7080604@joeconway.com
обсуждение исходный текст
Ответ на Re: SQL99 ARRAY support proposal  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: SQL99 ARRAY support proposal  (johnnnnnn <john@phaedrusdeinus.org>)
Re: SQL99 ARRAY support proposal  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
Peter Eisentraut wrote:
>>>> array_pop(anyarray) returns anyelement
> 
> That appears to mean that you return somearray[0] and alter the array
> as a side effect.  How do you plan to do that?

I'll give you this one -- doesn't make sense.

>>>> split(text, text) returns text[] - split string into array on
>>>> delimiter

There was a thread on this last September, and the consensus was that
the function *should* be name split, in order to be consistent with the
similar function existing in Perl and PHP (at least).

>>>> implode(text[], text) returns text - join array elements into a
>>>> string using given string delimiter

I'm open to opinions on implode() -- I only picked implode() because
that's what it is called in PHP. Any suggestions?

Joe






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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Roadmap for FE/BE protocol redesign
Следующее
От: johnnnnnn
Дата:
Сообщение: Re: SQL99 ARRAY support proposal