UPDATE on subclass - Mailing list pgsql-hackers

From Chris Bitmead
Subject UPDATE on subclass
Date
Msg-id 389F91D7.E52113F9@nimrod.itg.telecom.com.au
Whole thread Raw
List 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?


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: ExecInitAppend
Next
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] UPDATE on subclass