Re: change attnum in pg_catalog.pg_attribute

From: Grzegorz Przeździecki <Grzegorz(dot)Przezdziecki(at)PolskieSklepy(dot)pl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: somee(at)poczta(dot)onet(dot)pl, pgsql-general(at)postgresql(dot)org
Subject: Re: change attnum in pg_catalog.pg_attribute
Date: 2005-04-05 18:44:24
Message-ID: 200504052044.24313.Grzegorz.Przezdziecki@PolskieSklepy.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Welcome
>
> Yes, unless you also TRUNCATE the table, because attnum ordering tells
> about the physical data layout within the table rows. Furthermore,
> altering only pg_attribute is unlikely to represent a complete update
> of the catalogs --- attnums also show up in pg_index, pg_attrdef,
> pg_depend, pg_rewrite if there are any rules or views mentioning the
> columns, and probably some other places I forgot.
>

Now understand
Thanks a lot

> regards, tom lane

Best Regards

--
Grzegorz Przeździecki
www.PolskieSklepy.pl
kom. +48.606.822.506
gg:3701851 skype: grzegorz.przezdziecki

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-04-05 19:12:30 Re: change attnum in pg_catalog.pg_attribute
Previous Message Tom Lane 2005-04-05 18:41:32 Re: change attnum in pg_catalog.pg_attribute