Re: About adding an attribute to pg_attibute

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: About adding an attribute to pg_attibute
Дата
Msg-id
CAB7nPqSmQioc8ewrrs+UHdHpnbt9t3tNEdy+beiVtg56FFjjVg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
About adding an attribute to pg_attibute Tanmay Deshpande <tp.deshpande07@gmail.com>
Re: About adding an attribute to pg_attibute Craig Ringer <craig@2ndquadrant.com>
Re: About adding an attribute to pg_attibute Michael Paquier <michael.paquier@gmail.com>
On Tue, Mar 25, 2014 at 2:44 AM, Tanmay Deshpande
 wrote:
> We are trying add columnar support to postgreSQL and for that we need
> identify each column in each relation by an oid. So my doubt is how do we
> add an attribute/ a column to catalog pg_attribute ?
You can identify already uniquely columns in pg_attribute with the
couple (attrelid,attnum) or even (attrelid,attname). Using an OID to
do what already exists will just add complication in your application.
Regards,
-- 
Michael


В списке pgsql-hackers по дате отправления
От: Tatsuo Ishii
Дата:
От: Tatsuo Ishii
Дата:
FAQ