Re: About adding an attribute to pg_attibute

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tanmay Deshpande <tp(dot)deshpande07(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: About adding an attribute to pg_attibute
Date: 2014-03-25 00:28:22
Message-ID: CAB7nPqSmQioc8ewrrs+UHdHpnbt9t3tNEdy+beiVtg56FFjjVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 25, 2014 at 2:44 AM, Tanmay Deshpande
<tp(dot)deshpande07(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2014-03-25 00:28:45 Re: psql blows up on BOM character sequence
Previous Message Tatsuo Ishii 2014-03-25 00:24:06 Re: psql blows up on BOM character sequence