RE: Reordering the fields in a table

From: mike(dot)moening(at)rtssigns(dot)com
To: <pgsql-admin(at)lists(dot)postgresql(dot)org>
Cc: "'Thomas Kellerer'" <shammat(at)gmx(dot)net>
Subject: RE: Reordering the fields in a table
Date: 2021-04-17 14:32:54
Message-ID: 035301d73396$8e38b130$aaaa1390$@rtssigns.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

MS SQL Server allows this too. I do it all the time.

-----Original Message-----
From: Thomas Kellerer <shammat(at)gmx(dot)net>
Sent: Saturday, April 17, 2021 1:09 AM
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Reordering the fields in a table

Wells Oliver schrieb am 17.04.2021 um 00:28:
> If it helps the cause, I would love this too, in addition to having
> the ability to ALTER TABLE ... ADD COLUMN with the ability to specify
> where in the column order. This ends up being a bigger frustration for
> a lot of people than it should be, and maybe it's a touch of OCD, but
> most RDBMS packages allow this

"Most" seems a bit of a stretch.
To my knowledge it's only supported in MySQL, Firebird and Informix.

You can't do this in Oracle, SQL Server, DB2, Teradata, Ingres, Vertica or SAP Hana.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2021-04-17 15:21:34 Re: Reordering the fields in a table
Previous Message Thomas Kellerer 2021-04-17 06:09:04 Re: Reordering the fields in a table