Re: patch adding new regexp functions - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: patch adding new regexp functions
Date
Msg-id 45D506F4.3060005@dunslane.net
Whole thread Raw
In response to Re: patch adding new regexp functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

Tom Lane wrote:
> David Fetter <david@fetter.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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: remove dbname arg from bootstrap mode
Next
From: Bruce Momjian
Date:
Subject: Re: SSL enhancement patch ver.2