From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Reordering the fields in a table |
Date: | 2021-04-17 15:40:30 |
Message-ID: | 257889.1618674030@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> The feature has been discussed before on these lists and the only thing
> preventing its inclusion is some developers either donating their time to
> see it finished or some interested non-developers paying some developers to
> write it on their behalf.
It's not just whether somebody finishes a patch. The real concern
here is that separating logical from physical column order would
inevitably cause great quantities of bugs, probably including some
on the client side. If our experience with dropped columns is any
guide, it'd probably take *years* to flush out all the places that
misbehave when dealing with re-ordered columns. So maybe it'll
happen eventually, but it'll be far from pain-free.
(FWIW, I recall that Alvaro Herrera had a semi-finished patch
in this area a few years ago. If anyone is interested in
pursuing this, starting from that would likely be useful.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Yambu | 2021-04-18 12:44:03 | Recovered data directory |
Previous Message | Thomas Kellerer | 2021-04-17 15:29:33 | Re: Reordering the fields in a table |