Received: from mailout04.sul.t-online.de (mailout04.sul.t-online.com [194.25.134.18]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f66F82a09565 for ; Fri, 6 Jul 2001 11:08:02 -0400 (EDT) (envelope-from peter_e@gmx.net) Received: from fwd04.sul.t-online.de by mailout04.sul.t-online.de with smtp id 15IXD1-0006ll-08; Fri, 06 Jul 2001 17:07:55 +0200 Received: from peter.localdomain (520083510237-0001@[217.80.146.71]) by fmrl04.sul.t-online.com with esmtp id 15IXCw-2KgkVMC; Fri, 6 Jul 2001 17:07:50 +0200 Date: Fri, 6 Jul 2001 17:10:15 +0200 (CEST) From: Peter Eisentraut To: postgresql cc: PgSQL-SQL Subject: Re: finding current oid In-Reply-To: <200107061345.f66DjVa66095@postgresql.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520083510237-0001@t-dialin.net X-Archive-Number: 200107/63 X-Sequence-Number: 3846 postgresql writes: > Is there a way to return the current oid of a transaction? Transactions don't have oids, only table rows do. The libpq function PQoidValue() will possibly give you the last affected oid. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter