| От | Tom Lane |
|---|---|
| Тема | Re: change natural column order |
| Дата | |
| Msg-id | 20794.1101830939@sss.pgh.pa.us обсуждение |
| Ответ на | Re: change natural column order (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: change natural column order
|
| Список | pgsql-general |
Richard Huxton <dev@archonet.com> writes:
> I think you'll find you're out of luck. IIRC there was some discussion
> on the hackers list regarding a mapping layer that would let you
> re-order columns. I think the decision was "too much work for too small
> a gain".
Yup, that was exactly the conclusion. Too much work and too much risk
of introducing bugs (by using the wrong one of logical and physical
column number in any given place).
You really have to drop and recreate the table if you want to reorder
the columns.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера