Re: updated WIP: arrays of composites - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: updated WIP: arrays of composites
Date
Msg-id 464501FA.6070400@dunslane.net
Whole thread Raw
In response to Re: updated WIP: arrays of composites  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: updated WIP: arrays of composites  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

Tom Lane wrote:
>
>> I think I like it. Certainly seems to get round the ordering problem nicely.
>>
>
> At least as far as the user's names are concerned.  There's some
> ordering dependency for the names that the array types end up with,
> but we had that problem already; and AFAIK it shouldn't create any
> big issue for dump/restore.
>

There will only be an issue if you use table/type names beginning with
underscore, right? And I don't think it will matter because nobody has
been relying on that to date as we haven't had array types for those. We
should probably document that relying on the array name is both fragile
and unnecessary.

> BTW, I forgot to mention that this patch also fixes an oversight in the
> original patch: we all missed the fact that ALTER TABLE RENAME didn't
> rename the rowtype's array type.
>
>

Oh, good catch. Sorry about that.

cheers

andrew

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: updated WIP: arrays of composites
Next
From: Tom Lane
Date:
Subject: Re: updated WIP: arrays of composites