libpq logging redirection

Поиск
Список
Период
Сортировка
Искать

libpq logging redirection

От:
devman@gmx-topmail.de
Дата:
Hello Postgres Community,

ist there any possibility for libpq clients to redirect the messages that are logged to stderr by libpq e.g. by registering a callback function to handle error logging by oneself?

- Regards
-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl

Re: libpq logging redirection

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
devman@gmx-topmail.de writes:
> ist there any possibility for libpq clients to redirect the messages that are logged to stderr by libpq e.g. by registering a callback function to handle error logging by oneself?

http://www.postgresql.org/docs/8.4/static/libpq-notice-processing.html

			regards, tom lane

Re: libpq logging redirection

От:
devman@gmx-topmail.de
Дата:
It works fine. Thank you very much!
-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
FAQ