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

From: vicky <vicky_vergara(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Integrating C++ singletons into postgresql extensions???
Date: 2014-12-10 23:32:48
Message-ID: 1418254368108-5830010.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Israel Brewster 2014-12-11 00:53:00 Stored procedure workflow question
Previous Message Tom Lane 2014-12-10 23:06:28 Re: ALTER TYPE ADD SEND AND RECEIVE