Re: Support for Physical Column Reordering in PG

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Support for Physical Column Reordering in PG
Date: 2025-05-18 18:42:03
Message-ID: 94575.1747593723@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com> writes:
> So is making a patch to have a sql command to reposition the column like
> other databases makes sense? thoughts ?

There have been multiple attempts over the years to separate
physical and logical column positions. They've failed :-(.
You might trawl the mail list archives for awhile to understand the
problem better. Maybe a determined person could write a successful
patch, but don't underestimate the complexity and risk of introducing
new bugs.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2025-05-18 21:25:36 Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly
Previous Message Tom Lane 2025-05-18 18:36:42 Re: PG 17.2 compilation fails with -std=c11 on mac