Re: Integrating C++ singletons into postgresql extensions???

Поиск
Список
Период
Сортировка
От vicky
Тема Re: Integrating C++ singletons into postgresql extensions???
Дата
Msg-id 1418254368108-5830010.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Integrating C++ singletons into postgresql extensions???  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane-2 wrote
> FWIW, if you are using the logging collector (highly recommended), output
> to a backend process's stdout or stderr will be caught and included in the
> log, though it won't have a log_line_prefix.  This might be a usable
> substitute for adapting your code.
>
>             regards, tom lane
>
>
> --
> Sent via pgsql-general mailing list (

> pgsql-general@

> )
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

How do you use the logging collector on c++ code?

#include "utils/elog.h"
at linking time:
undefined reference to `elog_start(char const*, int, char const*)'

Vicky




--
View this message in context:
http://postgresql.nabble.com/Integrating-C-singletons-into-postgresql-extensions-tp5823506p5830010.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TYPE ADD SEND AND RECEIVE
Следующее
От: Israel Brewster
Дата:
Сообщение: Stored procedure workflow question