Re: i have table - Mailing list pgsql-sql

From Tom Lane
Subject Re: i have table
Date
Msg-id 12317.1160055103@sss.pgh.pa.us
Whole thread Raw
In response to Re: i have table  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: i have table  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-sql
Achilleas Mantzios <achill@matrix.gatewaynet.com> writes:
> Alright, you could play with something like:

> UPDATE pg_attribute SET attnum = <your number of ordering> where 
> attrelid=<your tableoid> and attname='<your column name>';

That's guaranteed to break his table, because the physical storage
of the rows won't have changed.  (To name only the most obvious
problem...)
        regards, tom lane


pgsql-sql by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: i have table
Next
From: Achilleas Mantzios
Date:
Subject: Re: i have table