Re: Calculated bigserial column in a view

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Calculated bigserial column in a view
Дата
Msg-id 20050425043110.GB2882@wolff.to
обсуждение исходный текст
Ответ на Calculated bigserial column in a view  ("Zlatko Matic" <zlatko.matic1@sb.t-com.hr>)
Список pgsql-general
On Sun, Apr 24, 2005 at 22:16:14 +0200,
  Zlatko Matic <zlatko.matic1@sb.t-com.hr> wrote:
> I know that it sounds crazy,
> but I need a bigserial coulumn in a view that is consisted of several tables.
> That column should not be based on bigserial column of any table, but should be a calculated column...
> How can I accomplish it ?

This doesn't really make sense. It sounds like you want a key that is unique
accross the union of several tables and that doesn't change when other rows
in the union are added or removed. There are a couple of ways you might
go about doing something like this. Is this what you really want?

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Immutable attributes?
Следующее
От: Tony Caduto
Дата:
Сообщение: question about about future 8.1 and IN, INOUT, and OUT parameters