Re: View unique rowid

From: Rafa Couto <rafacouto(at)gmail(dot)com>
To: David Klugmann <dklugmann(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: View unique rowid
Date: 2005-06-01 14:53:19
Message-ID: 22df564b05060107539603a26@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David Klugmann 2005-06-01 15:17:41 Re: View unique rowid
Previous Message Marc Wrubleski 2005-06-01 14:14:31 Returning a Cross Tab record set from a function