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

From Tom Lane
Subject Re: change attnum in pg_catalog.pg_attribute
Date
Msg-id 26181.1112724781@sss.pgh.pa.us
Whole thread Raw
In response to change attnum in pg_catalog.pg_attribute  (somee <grzegorz.przezdziecki@polskiesklepy.pl>)
Responses Re: change attnum in pg_catalog.pg_attribute
Re: change attnum in pg_catalog.pg_attribute
List pgsql-general
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.

            regards, tom lane

pgsql-general by date:

Previous
From: somee
Date:
Subject: change attnum in pg_catalog.pg_attribute
Next
From: Tom Lane
Date:
Subject: Re: Check for existence of index