pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rafa Couto <rafacouto@gmail.com>
To: David Klugmann <dklugmann@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: View unique rowid
Date: Wed, 1 Jun 2005 16:53:19 +0200
Message-ID: <22df564b05060107539603a26@mail.gmail.com> (raw)
In-Reply-To: <BAY104-F738FF8AD0C05D867CF6D5B2050@phx.gbl>
References: <BAY104-F738FF8AD0C05D867CF6D5B2050@phx.gbl>

> 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



view thread (4+ messages)  latest in thread

Message-ID: <22df564b05060107539603a26@mail.gmail.com>
Permalink:  ../22df564b05060107539603a26@mail.gmail.com/
Also on:    postgresql.org/message-id/22df564b05060107539603a26@mail.gmail.com

 · 

reply

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: rafacouto@gmail.com, dklugmann@hotmail.com
  Subject: Re: View unique rowid
  In-Reply-To: <22df564b05060107539603a26@mail.gmail.com>

* 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