Re: bigserial field in a view, nextval function ?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: bigserial field in a view, nextval function ?
Дата
Msg-id 4267C18F.1090502@archonet.com
обсуждение исходный текст
Ответ на bigserial field in a view, nextval function ?  ("Zlatko Matic" <zlatko.matic1@sb.t-com.hr>)
Список pgsql-general
Zlatko Matic wrote:
> I need to have an "identity" column in a view.
> I was using bigserial columns in tables and Postgre created nextval
> function expression automatically.
> Now I have tried with nextval function in the view, but with no success....
> How can I put a bigserial column in a view ?

What do you mean by an "identity" column in a view? A view is just a
named query, so doesn't hold any data of its own. Can you explain what
you are trying to achieve?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: Suggestions
Следующее
От: Bill Chandler
Дата:
Сообщение: Finding cardinality of an index