From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Jeremy Drake <pgsql(at)jdrake(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Neil Conway <neilc(at)samurai(dot)com> |
Subject: | Re: patch adding new regexp functions |
Date: | 2007-02-16 00:59:15 |
Message-ID: | 20070216005915.GH3282@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Thu, Feb 15, 2007 at 07:35:46PM -0500, Tom Lane wrote:
> David Fetter <david(at)fetter(dot)org> writes:
> > I've obviously misunderstood the scope of the TODO because it appears
> > that an INSERT into pg_type at creation time for compound types that
> > looks something like the below would do it. What have I missed?
>
> There are a couple of issues. One is that we probably don't want
> two pg_type entries for every single table.
Now that you mention it, I would want that if that's what it takes to
get arrays for them. The long-term goal here is to make all of
PostgreSQL's types play nicely together. I'm guessing that SETOF
will eventually be a way to describe a collection because MULTISET is
in SQL:2003.
> Will you be satisfied if only CREATE TYPE AS ... makes an array
> type? The other is that, at least at the time they were written,
> the array support routines couldn't handle composite array values.
> Things might or might not be easier today; I don't think we had
> record_in and record_out in their current form then.
OK. What about pg_depend?
Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter
Remember to vote!
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2007-02-16 01:20:52 | Re: patch adding new regexp functions |
Previous Message | Tom Lane | 2007-02-16 00:50:26 | Re: WIP patch - INSERT-able log statements |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-02-16 01:11:08 | Re: remove dbname arg from bootstrap mode |
Previous Message | Tom Lane | 2007-02-16 00:54:20 | Re: remove dbname arg from bootstrap mode |