Re: C set return function differences on 8.0?]]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C set return function differences on 8.0?]]
Дата
Msg-id 19092.1121178682@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: C set return function differences on 8.0?]]  (Tim Jackson <tim.jackson@ints.com>)
Список pgsql-interfaces
Tim Jackson <tim.jackson@ints.com> writes:
> The full so code is 4000 lines and caused the news group to reject the mail
> , but here is the basic format with the piece that builds the record replaced 
> by hardcoded values.  

With all those unchecked strcat's and strcpy's going on, it seems like
an excellent bet that you're overrunning one or another buffer and
clobbering memory that doesn't belong to you.  Compiling the backend
with --enable-cassert might help in localizing the problem.
        regards, tom lane


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

Предыдущее
От: Tim Jackson
Дата:
Сообщение: Re: C set return function differences on 8.0?
Следующее
От: Scott Cain
Дата:
Сообщение: Support for DBD::PgSPI with Pg 7.4.8?