From: | "Bruno BAGUETTE" <pgsql-ml(at)baguette(dot)net> |
---|---|
To: | "'Tino Wildenhain'" <tino(at)wildenhain(dot)de>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "'Ernest E Vogelsinger'" <ernest(at)vogelsinger(dot)at>, "'Nigel J(dot) Andrews'" <nandrews(at)investsystems(dot)co(dot)uk>, 'Sven Köhler' <skoehler(at)upb(dot)de>, <pgsql-general(at)postgresql(dot)org> |
Subject: | RE : full featured alter table? |
Date: | 2003-06-15 21:17:01 |
Message-ID: | !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAATBuXKOMvlkWzD3KJN6FWLMKAAAAQAAAADYCFWZpBVUO3m2pzNwU2ywEAAAAA@baguette.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
> why not just order the output columns in alphabetical order?
> This is quite easy to implement and requires no additional
> storage. The output would be the same all the time and with all tools.
No, what we are talking about is to have the possibility to choose the
output order of the columns of a table (by adding a field in the
pg_attribute table).
I don't like GUI applications that creates their own tables in my schema
to store ordering or displaying informations. All the GUI that can
manages PostgreSQL database could use the pg_attribute table to store
the output order of the columns of the table.
I think that displays the output columns in alphabetical order will not
bring anything interesting... But if the pg_attributes table can be
enhanced to store order output, you could have the possibility to sort
yourself the ouput order. (Logical order, alphabetical order, or another
order...). The pg_attributes table would store (as I imagine) the
ordering number of each column.
> People again should be warned to use select *
> in applications, but this is another thing...
I agree with you, SELECT * must be avoided as much as possible.
Regards,
---------------------------------------
Bruno BAGUETTE - pgsql-ml(at)baguette(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno BAGUETTE | 2003-06-15 21:30:45 | RE : full featured alter table? |
Previous Message | nolan | 2003-06-15 20:41:44 | Odd error message |