Re: array concat, et al patch (was: [GENERAL] join of array)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: elein <elein(at)varlena(dot)com>, Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: array concat, et al patch (was: [GENERAL] join of array)
Date: 2003-08-17 23:45:40
Message-ID: 14152.1061163940@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> The attached patch fixes code and regression tests for the following
> 1) Array concatenation of equidimensional arrays:
> 2) Array literals or vars in ARRAY expressions:
> 3) Lower bound of outer array adjusted downward when an "element" (which
> could itself be an array) is concatenated onto the front of an array:

Applied with only marginal changes. (I thought the element-type checks
removed from parse_expr.c had better be applied at runtime; and
I noticed that array_cat scribbled on its inputs in some cases.)

> docs to follow once
> I'm sure what actually ends up being committed.

You're on the hook for docs fixes...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2003-08-17 23:54:02 Re: Need feedback on new feature (\for)
Previous Message Martijn van Oosterhout 2003-08-17 23:29:02 Re: Need feedback on new feature (\for)

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2003-08-18 00:17:41 Re: array concat, et al patch
Previous Message Matthew D. Fuller 2003-08-17 05:48:54 Re: Arrays and "goodness" in RDBMSs (was Re: join of array)