copyObject() ?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема copyObject() ?
Дата
Msg-id 000501be5ec1$490adba0$2801007e@cadzone.tpf.co.jp
обсуждение исходный текст
Ответы Re: [HACKERS] copyObject() ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Chuang Fang-sheng"
Дата:
Сообщение: subscribe
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Anyone understand shared-memory space usage?