Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux