View unique rowid - Mailing list pgsql-sql

From David Klugmann
Subject View unique rowid
Date
Msg-id BAY104-F738FF8AD0C05D867CF6D5B2050@phx.gbl
Whole thread Raw
Responses Re: View unique rowid  (Rafa Couto <rafacouto@gmail.com>)
Re: View unique rowid  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-sql
Hi
Is it possible to refer to a unique row identifier on a view ?

I have the following view but in a subsequent select I need to refer to
each row's unique identifier and I know oid's are not valid for a view.

create view persontransit
as
select personid, planet, name as aspectname, position as planetposition,
position+angle as transitposition
from personplanet, aspect
union
select personid, planet, name as aspectname, position as planetposition,
position-angle as transitposition
from personplanet, aspect
where name != 'OPPOSITION';

Many thanks

David




pgsql-sql by date:

Previous
From: lucas@presserv.org
Date:
Subject: Re: Sum() rows
Next
From: Rafa Couto
Date:
Subject: Re: View unique rowid