Re: Where do I enter commands?

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: Where do I enter commands?
Дата
Msg-id 20151025154154.GC2622@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: Where do I enter commands?  (David Blomstrom <david.blomstrom@gmail.com>)
Ответы Re: Where do I enter commands?  (David Blomstrom <david.blomstrom@gmail.com>)
Список pgsql-general
On Sun, Oct 25, 2015 at 08:32:43AM -0700, David Blomstrom wrote:

> Someone said when you add a new column in Postgre, it's appended to the end
> of the table. Does that mean that's where it has to stay, or can you
> rearrange columns

No, unless you drop/re-create the table (manually or with

    pg_dump -t <table>

But you can use a view over the table to show a desired
column order if you so wish.

Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


В списке pgsql-general по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Where do I enter commands?
Следующее
От: David Blomstrom
Дата:
Сообщение: Recursive Arrays 101