Re: change attnum in pg_catalog.pg_attribute

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

somee <grzegorz(dot)przezdziecki(at)polskiesklepy(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-04-05 18:19:55 Re: Check for existence of index
Previous Message somee 2005-04-05 17:56:49 change attnum in pg_catalog.pg_attribute