pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Ruprecht <chrup999@yahoo.com>
To: psql <pgsql-sql@postgresql.org>
Subject: Unique record Identifier?
Date: Wed, 30 May 2001 15:14:17 -0500
Message-ID: <008101c0e945$1bf489c0$5dd26383@corp.compucom.com> (raw)

Hi all,

I'm busy writing an application using PostGreSQL and PHP, so my db reads are
'stateless' and I don't know at record 'write' time which record I have read
to begin with. The records I have, have an index, most tables do have a
unique index but the index values could get changed during an update. In
order to be able to re-read a record, I would like to use some unique
identifier of that record, like a unique db-wide rec-id. Does this exist in
PostGres and if so, how do I access it?

Best regards,
Chris


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (3+ messages)  latest in thread

Message-ID: <008101c0e945$1bf489c0$5dd26383@corp.compucom.com>
Permalink:  ../008101c0e945$1bf489c0$5dd26383@corp.compucom.com/
Also on:    postgresql.org/message-id/008101c0e945$1bf489c0$5dd26383@corp.compucom.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: chrup999@yahoo.com
  Subject: Re: Unique record Identifier?
  In-Reply-To: <008101c0e945$1bf489c0$5dd26383@corp.compucom.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