Re: change attnum in pg_catalog.pg_attribute - Mailing list pgsql-general

From Grzegorz Przeździecki
Subject Re: change attnum in pg_catalog.pg_attribute
Date
Msg-id 200504052026.51703.Grzegorz.Przezdziecki@PolskieSklepy.pl
Whole thread Raw
In response to Re: change attnum in pg_catalog.pg_attribute  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: change attnum in pg_catalog.pg_attribute  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Dnia wtorek, 5 kwietnia 2005 20:13, Tom Lane napisał:
> somee <grzegorz.przezdziecki@polskiesklepy.pl> writes:
> > I want to change column order in select * from table instruction;
> > I can do that changing attnum but I don't know it is safely or not for
> > system.
>
> It won't work and will likely crash the backend.
>




Even if I will do like this  and for ever??

1. attnum will be unique and greater than 0
2. no holes in attnum numeric
3. Make change
4. restart postgresql




>             regards, tom lane

Best Regards

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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Check for existence of index
Next
From: David Rysdam
Date:
Subject: Re: Check for existence of index