Re: plpython crash (PG 92)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpython crash (PG 92)
Дата
Msg-id 4421.1335567062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plpython crash (PG 92)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I must have been confused about the tuple descriptor APIs.  ob->tupdesc
> is created using CreateTupleDescCopy(), which copies the refcount of the
> original tuple descriptor,

Um, surely not.  That would be nonsensical, and anyway a look at the
code shows it isn't doing that.

> thus causing a failure when the (seemingly still referenced) tupdesc
> is freed.  Is this behavior correct and useful?

I think there must be some mistake in your analysis.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Future In-Core Replication
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Re: xReader, double-effort (was: Temporary tables under hot standby)