Re: View unique rowid - Mailing list pgsql-sql

From Rafa Couto
Subject Re: View unique rowid
Date
Msg-id 22df564b05060107539603a26@mail.gmail.com
Whole thread Raw
In response to View unique rowid  ("David Klugmann" <dklugmann@hotmail.com>)
Responses Re: View unique rowid  ("David Klugmann" <dklugmann@hotmail.com>)
List pgsql-sql
> 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.


You can get an oid from some table in view definition. May be it
results to resolve your problem...

You can also try "create temp sequence" (review
http://archives.postgresql.org/pgsql-sql/2005-05/msg00126.php)


select 'saludos';

--
Rafa Couto (caligari)
mailto:rafacouto@gmail.com


pgsql-sql by date:

Previous
From: "David Klugmann"
Date:
Subject: View unique rowid
Next
From: "David Klugmann"
Date:
Subject: Re: View unique rowid