Re: [HACKERS] Advice needed, - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Advice needed,
Date
Msg-id 13447.949899659@sss.pgh.pa.us
Whole thread Raw
In response to Advice needed,  (Chris <chris@bitmead.com>)
List pgsql-hackers
Chris <chris@bitmead.com> writes:
> I've been trying to implement UPDATE and DELETE to work on subclasses.

Good!

> The change I made was basicly to add an "inh" parameter to
> setTargetTable which I pass on down to addRangeTableEntry. From there I
> expect it to be passed on to the executor and as I said it seems to work
> ok without a where clause.

Hm.  I do not believe that the executor is currently prepared to cope
with more than one target table for an UPDATE or DELETE.  You'll
probably need to do some work in execMain.c and related files.  Not
sure why it seemed to work at all...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] pg_ctl man page
Next
From:
Date:
Subject: Re: [SQL] Re: [HACKERS] Proposed Changes to PostgreSQL