Re: WIP: Automatic view update rules

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WIP: Automatic view update rules
Date: 2009-01-12 12:48:46
Message-ID: 496B3C2E.6040908@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bernd Helmle wrote:
> --On Freitag, Januar 09, 2009 17:53:31 +0100 Bernd Helmle
> <mailings(at)oopsware(dot)de> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-01-12 13:01:52 Re: autovacuum and reloptions
Previous Message Gregory Stark 2009-01-12 12:45:12 Re: about truncate