Re: bigserial field in a view, nextval function ?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Zlatko Matic <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bigserial field in a view, nextval function ?
Date: 2005-04-21 15:06:55
Message-ID: 4267C18F.1090502@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Chandler 2005-04-21 15:11:09 Finding cardinality of an index
Previous Message Tony Caduto 2005-04-21 15:02:30 Re: Suggestions