News for hackers. Stuff that matters.
Re:Reordering Columns in PostgreSQL by wcorrales on Thursday January 05, 2023 @12:08PM (#34262937)
Re:Reordering Columns in PostgreSQL by sargstuff on Thursday January 05, 2023 @04:15PM (#34266703)
Reviewing database normal forms might be helpful/useful. [1]

Non-postgress, old school method:

1) Dump table data to ascii delimited file.

2) Use awk/gawk to re-arrange columns in ascii delimited file.

3) drop old data table.

4) create new data table to upload the awk/gawk data generated in #2.

5) upload awk/gawk data from #2.

--------

[1] : https://www.geeksforgeeks.org/first-normal-form-1nf/?ref=lbp

Re:Reordering Columns in PostgreSQL by HNBRN on Friday January 06, 2023 @03:16AM (#34272263)
Thanks, we could definitely start from this
Re:Reordering Columns in PostgreSQL by sargstuff on Sunday January 15, 2023 @03:06PM (#34392772)