Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C9188632194 for ; Mon, 12 Jan 2009 08:49:05 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 80363-03 for ; Mon, 12 Jan 2009 08:49:02 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.postgresql.org (Postfix) with SMTP id 6C2936321A6 for ; Mon, 12 Jan 2009 08:49:02 -0400 (AST) Received: (qmail invoked by alias); 12 Jan 2009 12:48:59 -0000 Received: from unknown (EHLO dhcp-eesp05-101-217.Finland.Sun.COM) [192.18.8.1] by mail.gmx.net (mp043) with SMTP; 12 Jan 2009 13:48:59 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/gpEl6lhHgOAObSydmfMFqRkz1JBdlP0ec8sSun3 xTkoOn8HMnVjB0 Message-ID: <496B3C2E.6040908@gmx.net> Date: Mon, 12 Jan 2009 14:48:46 +0200 From: Peter Eisentraut User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Bernd Helmle CC: Jaime Casanova , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: WIP: Automatic view update rules References: <2849137C693B65CC8E86411C@imhotep.credativ.de> <94CF655A8D0DC7D5B4B81D8B@imhotep.credativ.de> <603c8f070811112006q906b3a6o59a66228b7fc997@mail.gmail.com> <7F84532C73CB3279DE8436E0@imhotep.credativ.de> <603c8f070811131344n5c087057p11f94780dae80885@mail.gmail.com> <603c8f070811252043r75db3e83v2eba1611452ee62e@mail.gmail.com> <3073cc9b0812250943x23547116ud956d8ab111e55bf@mail.gmail.com> <61043.91.48.33.48.1230474598.squirrel@tooney.at.xencon.de> <3B3B2ACA2DB4AF9AF585FBAF@teje> <0163DD949AF0457BB1DBBD80@teje> In-Reply-To: <0163DD949AF0457BB1DBBD80@teje> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/834 X-Sequence-Number: 131478 Bernd Helmle wrote: > --On Freitag, Januar 09, 2009 17:53:31 +0100 Bernd Helmle > wrote: > >> I've decided to check updatability of all involved views during view >> creation. Please find attached a new version with all other open issues >> adressed. > > Oops, forgot to track some files in my new git branch and so the new > files viewUpdate.c und viewUpdate.h are missing...please find attached a > corrected patch file. Sorry for that. gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -I../../../src/include -I/sw/include/libxml2 -I/sw/include -c -o viewUpdate.o viewUpdate.c -MMD -MP -MF .deps/viewUpdate.Po viewUpdate.c: In function 'transform_select_to_insert': viewUpdate.c:1407: error: 'qual' undeclared (first use in this function) viewUpdate.c:1407: error: (Each undeclared identifier is reported only once viewUpdate.c:1407: error: for each function it appears in.) viewUpdate.c:1407: error: 'viewDef' undeclared (first use in this function) viewUpdate.c: In function 'CreateViewUpdateRules': viewUpdate.c:1731: warning: unused variable 'view_qual' make: *** [viewUpdate.o] Error 1