From: | Rod Taylor <rbt(at)rbt(dot)ca> |
---|---|
To: | Joe Conway <mail(at)joeconway(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hannu Krosing <hannu(at)tm(dot)ee>, "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: SQL99 ARRAY support proposal |
Date: | 2003-03-13 19:32:28 |
Message-ID: | 1047583947.60737.40.camel@jester |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Thu, 2003-03-13 at 12:53, Joe Conway wrote:
> 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?
I think implode() and explode() go together. split() and join() are a
pair. Pick one ;)
--
Rod Taylor <rbt(at)rbt(dot)ca>
PGP Key: http://www.rbt.ca/rbtpub.asc
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-03-13 19:40:16 | Re: Roadmap for FE/BE protocol redesign |
Previous Message | Dave Page | 2003-03-13 19:27:38 | Re: Roadmap for FE/BE protocol redesign |
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2003-03-13 20:54:25 | Re: SQL99 ARRAY support proposal |
Previous Message | Joe Conway | 2003-03-13 18:44:57 | Re: SQL99 ARRAY support proposal |