Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP)
Дата
Msg-id 20080716013732.GD9945@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP)  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP)  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
Craig Ringer wrote:

> That said, PostgreSQL does appear to use its own allocator for memory
> passed across library boundaries, and if it doesn't pass any FILE
> pointers across library boundaries either then that's the worst two
> problems that arise with a C runtime mismatch taken care of. As far as I
> know, anyway, and I've had the misfortune to have to dig into it a bit.

Note that our allocator uses malloc() underneath.  And I would think
that we do pass FILE pointers around too; AllocateFile works with FILE,
so any library that's using that method to get to files would be in
trouble (which they should, because it's the way to ensure we don't leak
files on transaction abort and also to ensure that the system continues
to work on the face of lots of open files).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Yi Zhao
Дата:
Сообщение: Re: how to found a variable is in a aggregation or not?
Следующее
От: "Ismael ...."
Дата:
Сообщение: How to create my own result set?