Re: Réf. : Re: Réf

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Réf. : Re: Réf
Дата
Msg-id 20050113163756.GA14874@dcc.uchile.cl
обсуждение исходный текст
Ответ на Réf. : Re: Réf. : Debugging SPI Cfunctions  (bsimon@loxane.com)
Список pgsql-general
On Thu, Jan 13, 2005 at 04:23:29PM +0100, bsimon@loxane.com wrote:

> Then I have a C (libpq) client program that calls my spi functions like
> this :
>
> PQExec(conn,"SELECT mySpiFunction()");
>
>  the problem is ->  I can't step into this line !

Of course not.  The processing is done server side, so the debugging
should occur server side too.  You have to connect GDB with the backend
serving the connection, and step through function execution there.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: [HACKERS] Much Ado About COUNT(*)
Следующее
От: Terry Lee Tucker
Дата:
Сообщение: Re: Trace triggers