From: Alvaro Herrera <alvherre@commandprompt.com>
To: Erwin Brandstetter <brsaweda@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Change order of table-columns in pg_catalog.pg_attribute.attnum
Date: Wed, 6 Jun 2007 10:38:52 -0400
Message-ID: <20070606143852.GF6377@alvh.no-ip.org> (raw)
In-Reply-To: <1181138388.508384.51110@q75g2000hsh.googlegroups.com>
References: <1181138388.508384.51110@q75g2000hsh.googlegroups.com>
Erwin Brandstetter escribió:
> Hi group!
>
> If I want to change the default order of two columns of a table, can I
> just manipulate the values in
> pg_catalog.pg_attribute.attnum?
It works -- as long as the table is empty.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@commandprompt.com, brsaweda@gmail.com
Subject: Re: Change order of table-columns in pg_catalog.pg_attribute.attnum
In-Reply-To: <20070606143852.GF6377@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox