copyObject() ? - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject copyObject() ?
Date
Msg-id 000501be5ec1$490adba0$2801007e@cadzone.tpf.co.jp
Whole thread Raw
Responses Re: [HACKERS] copyObject() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello all,

AFAIC the relation between objects is not copied correctly 
by copyObject() (i.e the same pointers to an object are copied 
to different pointers by copyObject()). 

I think it makes copyObject() unreliable.
I have some bug-reports due to this cause.(see attached file)

We should patch one by one ? 

There is a way to maintain the list of (old,new) pairs during 
copyObject() operations.
We could copyObject() correctly with this mechanism,though 
there may be the problem of performance.

Comment ?

Hiroshi Inoue
Inoue@tpf.co.jp

pgsql-hackers by date:

Previous
From: "Chuang Fang-sheng"
Date:
Subject: subscribe
Next
From: Tom Lane
Date:
Subject: Re: Anyone understand shared-memory space usage?