Re: Column Ordering

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Column Ordering
Дата
Msg-id dcc563d10709101041u654a1e50k5c0add702aaaa260@mail.gmail.com
обсуждение исходный текст
Ответ на Column Ordering  ("Ashish Karalkar" <ashish.karalkar@info-spectrum.com>)
Список pgsql-general
On 9/10/07, Ashish Karalkar <ashish.karalkar@info-spectrum.com> wrote:
>
>
>
> Hello All,
>
> I am having a table with  5 columns.
> I want to add another column by altering the table at 2nd position
> constraint is that I can not drop and recreate the table as column ordering
> is of importance.

That doesn't make sense.  dropping and recreating the table isn't
really constrained by column ordering.  Now, if you've got FK
constraints, other triggers, rules, etc... then I can see those being
an issue.

> Is there anyway to do so.

Not without dropping and recreating the table OR creating an updatable
view on top of it.

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

Предыдущее
От: "Ashish Karalkar"
Дата:
Сообщение: Column Ordering
Следующее
От: Darek Czarkowski
Дата:
Сообщение: Re: Postgresql 7.3 on Red Hat Enterprise 5 (Problem with SEMMNI, SEMMNS)