Re: Does changing attribute order breaks something? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Does changing attribute order breaks something?
Date
Msg-id 12662.1404149562@sss.pgh.pa.us
Whole thread Raw
In response to Does changing attribute order breaks something?  (geohas <lists@hasibether.at>)
List pgsql-hackers
geohas <lists@hasibether.at> writes:
> Are there any known issues when changing the attnums?

> airport=# update pg_attribute set attnum = 3 where attname = 'abc' and
> attrelid = 18328;
> UPDATE 1
> airport=# update pg_attribute set attnum = 2 where attname = 'foo' and
> attrelid = 18328;
> UPDATE 1

I assume you quickly found out that that totally broke your table,
so why are you asking?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Spinlocks and compiler/memory barriers
Next
From: Andres Freund
Date:
Subject: Re: better atomics - v0.5