Re: patch adding new regexp functions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Fetter <david(at)fetter(dot)org>, 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 01:20:52
Message-ID: 45D506F4.3060005@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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. Will you be satisfied if only
> CREATE TYPE AS ... makes an array type?
>

There should be some better way to create the array type for tables than
directly mangling pg_type, though. Maybe a builtin function that took an
oid?

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-16 03:42:00 Re: WIP patch - INSERT-able log statements
Previous Message David Fetter 2007-02-16 00:59:15 Re: patch adding new regexp functions

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-16 03:00:37 Re: SSL enhancement patch ver.2
Previous Message Tom Lane 2007-02-16 01:13:08 Re: remove dbname arg from bootstrap mode