From: David Klugmann <dklugmann@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: View unique rowid
Date: Wed, 01 Jun 2005 13:53:36 +0000
Message-ID: <BAY104-F738FF8AD0C05D867CF6D5B2050@phx.gbl> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dklugmann@hotmail.com
Subject: Re: View unique rowid
In-Reply-To: <BAY104-F738FF8AD0C05D867CF6D5B2050@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox