copyObject() ?

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: copyObject() ?
Date: 1999-02-23 00:13:05
Message-ID: 000501be5ec1$490adba0$2801007e@cadzone.tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)tpf(dot)co(dot)jp

Attachment Content-Type Size
plpgbugs.txt text/plain 826 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Chuang Fang-sheng 1999-02-23 00:16:28 subscribe
Previous Message Ryan Bradetich 1999-02-22 23:18:48 discussion on proposed int8_ops patch