Re: [HACKERS] [PATCH] Generic type subscripting
От | Arthur Zakirov |
---|---|
Тема | Re: [HACKERS] [PATCH] Generic type subscripting |
Дата | |
Msg-id | 20170920151934.GA12130@zakirov.localdomain обсуждение исходный текст |
Ответ на | Re: [HACKERS] [PATCH] Generic type subscripting (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: [HACKERS] [PATCH] Generic type subscripting
|
Список | pgsql-hackers |
On Wed, Sep 20, 2017 at 09:35:06AM -0400, Peter Eisentraut wrote: > > The difference is that those create associations between two separate > objects (cast: type1 <-> type2, transform: type <-> language). A > subscripting is just a property of a type. > > -- > Peter Eisentraut http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services Yes, indeed. I agree. As a conclusion: - additional field are needed to pg_type for *_fetch and *_assign functions to solve dependency problem - ALTER TYPE requires a modification to add or drop subscripting from existing type (I am not sure that it should be doneby this patch, maybe better to do it by a separate patch) -- Arthur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: