Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TpAHb-0000Fm-KS for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Dec 2012 04:13:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TpAHb-0001no-5G for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Dec 2012 04:13:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TpAHZ-0001ni-M5 for pgsql-hackers@postgresql.org; Sun, 30 Dec 2012 04:13:53 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TpAHX-0003vQ-6P for pgsql-hackers@postgresql.org; Sun, 30 Dec 2012 04:13:53 +0000 Received: from mailout-de.gmx.net ([10.1.76.16]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0LrY9r-1T3TZD1M2X-013ODR for ; Sun, 30 Dec 2012 05:13:50 +0100 Received: (qmail invoked by alias); 30 Dec 2012 04:13:50 -0000 Received: from pool-108-52-108-60.phlapa.fios.verizon.net (EHLO [192.168.1.10]) [108.52.108.60] by mail.gmx.net (mp016) with SMTP; 30 Dec 2012 05:13:50 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX19dPhpR9RNdpljZUJYRTBUgqLqHq77Em2aWNesTPs RuOR5RhlgSsP1m Message-ID: <1356840827.20017.15.camel@vanquo.pezone.net> Subject: Re: Event Triggers: adding information From: Peter Eisentraut To: Robert Haas Cc: Dimitri Fontaine , PostgreSQL Hackers Date: Sat, 29 Dec 2012 23:13:47 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sat, 2012-12-29 at 08:11 -0500, Robert Haas wrote: > On Tue, Dec 25, 2012 at 1:42 PM, Dimitri Fontaine > wrote: > > Robert Haas writes: > >>> Also, keep in mind we want the ObjectID in all CREATE, ALTER and DROP > >>> statements, so my current patch is still some bricks shy of a load… (I > >>> added ObjectID only in the commands I added rewrite support for, apart > >>> from DROP). > >> > >> I shall rely on you to provide those bricks which are still missing. > > > > Please find attached a patch to change most functions called from > > standard_ProcessUtility() to return an Oid (passes `make > > maintainer-clean; configure; make install check`). Most of them only, > > because it only make sense for functions touching an object that exists > > in the catalogs and have a distinct Oid. > > OK, I committed this. There is a new compiler warning coming from this, I believe: copy.c: In function ‘DoCopy’: copy.c:835:2: error: ‘relid’ may be used uninitialized in this function [-Werror=maybe-uninitialized] return relid; ^ copy.c:753:6: note: ‘relid’ was declared here Oid relid; ^ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers