Re: Support edit order of the fields in table

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Chang Wei 昌維 <changwei1006(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Support edit order of the fields in table
Date: 2023-05-31 19:03:33
Message-ID: 7aa574aa39c1f2dc23bb1c8b776e64f5eeb40e53.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2023-06-01 at 00:31 +0800, Chang Wei 昌維 wrote:
> Hi Postgres community: I think support editing order of the fields in
> table is a useful feature. I have known that the order of fields will
> effect the data structure of rows data, but I think we could add a extra
> information to identify the display order of fields but not effect the
> rows data, and the order identification is only used to display in order
> while execute `SELECT * FROM [table_name]` and display the table
> structure on GUI tools like pgAdmin.
>
> Now, we must create a new view and define the order of fields if we need
> to display the fields of  table in a order of our demand, it is not a
> good way.

But PostgreSQL tables are not spreadsheets. When, except in the display of
the result of interactive queries, would the order matter?

Yours,
Laurenz Albe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sandro Santilli 2023-05-31 19:07:43 Re: [PATCH] Support % wildcard in extension upgrade filenames
Previous Message Yugo NAGATA 2023-05-31 18:47:03 Re: Incremental View Maintenance, take 2