pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chester c young <chestercyoung@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: oid in plpgsql trigger
Date: Fri, 18 Jan 2002 20:14:15 -0800 (PST)
Message-ID: <20020119041415.23759.qmail@web12705.mail.yahoo.com> (raw)

Is there any way to get the current record's oid in a plpgsql trigger?

In a before insert trigger the oid might not make any sense if the oid
has not yet have been assigned, but it makes sense elsewhere.

cc young

"Beauty begets beauty, and ugly ugly."  (paraphrase) Harry Truman

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



view thread (2+ messages)  latest in thread

Message-ID: <20020119041415.23759.qmail@web12705.mail.yahoo.com>
Permalink:  ../20020119041415.23759.qmail@web12705.mail.yahoo.com/
Also on:    postgresql.org/message-id/20020119041415.23759.qmail@web12705.mail.yahoo.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: chestercyoung@yahoo.com
  Subject: Re: oid in plpgsql trigger
  In-Reply-To: <20020119041415.23759.qmail@web12705.mail.yahoo.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