Re: Integrating C++ singletons into postgresql extensions??? - Mailing list pgsql-general

From vicky
Subject Re: Integrating C++ singletons into postgresql extensions???
Date
Msg-id 1418254368108-5830010.post@n5.nabble.com
Whole thread Raw
In response to Re: Integrating C++ singletons into postgresql extensions???  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TYPE ADD SEND AND RECEIVE
Next
From: Israel Brewster
Date:
Subject: Stored procedure workflow question