| От | Berend Tober |
|---|---|
| Тема | Re: Reordering columns in a table |
| Дата | |
| Msg-id | 43BE941E.3090809@seaworthysys.com обсуждение |
| Ответ на | Reordering columns in a table (John McCawley <nospam@hardgeus.com>) |
| Ответы |
Re: Reordering columns in a table
|
| Список | pgsql-general |
John McCawley wrote: > Is there a way to change the order of columns in a table in Postgres > after it has been created? ... The best way to do it is when you have the opportunity to do a restore, edit the pg_dump output between the dump and the restore steps. There are other approaches that might not be feasible depending on circumstances, like dropping and recreating the table and reloading data, but you have to deal with foreign key and other dependencies and so it is probably more work than justifiable for something that makes no practical difference. Regards, Berend Tober
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера