Thread: AW: [HACKERS] Well, then you keep your darn columns

AW: [HACKERS] Well, then you keep your darn columns

From
Zeugswetter Andreas SB
Date:
> > > > My idea is as follows.
> > > 
> > > > 1)add a visibile/invisible flag to pg_attribute
> > 
> > might use a xid as flag, so rows before xid have the 
> column, rows after 
> > xid don't have it.
> >
> 
> From where do we get the xid ?

Transaction id of alter table command ?

Andreas


RE: [HACKERS] Well, then you keep your darn columns

From
"Hiroshi Inoue"
Date:
> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Zeugswetter
> Andreas SB
> 
> > > > > My idea is as follows.
> > > > 
> > > > > 1)add a visibile/invisible flag to pg_attribute
> > > 
> > > might use a xid as flag, so rows before xid have the 
> > column, rows after 
> > > xid don't have it.
> > >
> > 
> > From where do we get the xid ?
> 
> Transaction id of alter table command ?
>

Does it work well after one more column is added ?

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp