Re: About adding an attribute to pg_attibute - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: About adding an attribute to pg_attibute
Date
Msg-id CAB7nPqSmQioc8ewrrs+UHdHpnbt9t3tNEdy+beiVtg56FFjjVg@mail.gmail.com
Whole thread Raw
In response to About adding an attribute to pg_attibute  (Tanmay Deshpande <tp.deshpande07@gmail.com>)
List pgsql-hackers
On Tue, Mar 25, 2014 at 2:44 AM, Tanmay Deshpande
<tp.deshpande07@gmail.com> 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 by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: psql blows up on BOM character sequence
Next
From: Tatsuo Ishii
Date:
Subject: Re: psql blows up on BOM character sequence