Re: Problem integrating C stub

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem integrating C stub
Дата
Msg-id 4784.1202401037@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem integrating C stub  (Smita Vijayakumar <smita.vijayakumar@globallogic.com>)
Список pgsql-novice
Smita Vijayakumar <smita.vijayakumar@globallogic.com> writes:
> While integrating C stub in stored procedure, I came across the
> following problem whenever the DB triggered the SP:
> "
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.

> My C code looks like this:

>     str[str1Size]='\0';

Scribbling on pass-by-reference arguments is verboten.  Scribbling past
the end of one is even worse.

            regards, tom lane

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

Предыдущее
От: Smita Vijayakumar
Дата:
Сообщение: Problem integrating C stub
Следующее
От: Michael Lush
Дата:
Сообщение: Real time backup options.