UPDATE on subclass

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: UPDATE on subclass
Date: 2000-02-08 03:47:35
Message-ID: 389F91D7.E52113F9@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Been doing more tracing...

The problem with UPDATE on inheritance hierarchies is that when it gets
down into ExecSeqScan, the value of...

node->scanstate->css_currentScanDesc->rs_rd->rd_id

is not equal to the value of...

node->plan.state->es_result_relation_info->ri_RelationDesc->rd_id

On the first scan, the former is equal to the relation for the base
class
and the latter is equal to the relation for the subclass.

Any thoughts anyone?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-02-08 04:12:11 Re: [HACKERS] UPDATE on subclass
Previous Message Hiroshi Inoue 2000-02-08 03:27:54 RE: [HACKERS] TODO item