Re: bigserial field in a view, nextval function ? - Mailing list pgsql-general

From Richard Huxton
Subject Re: bigserial field in a view, nextval function ?
Date
Msg-id 4267C18F.1090502@archonet.com
Whole thread Raw
In response to bigserial field in a view, nextval function ?  ("Zlatko Matic" <zlatko.matic1@sb.t-com.hr>)
List 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 by date:

Previous
From: Tony Caduto
Date:
Subject: Re: Suggestions
Next
From: Bill Chandler
Date:
Subject: Finding cardinality of an index