Thread: libpq logging redirection
Hello Postgres Community, ist there any possibility for libpq clients to redirect the messages that are logged to stderr by libpq e.g. by registeringa 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
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 registeringa callback function to handle error logging by oneself? http://www.postgresql.org/docs/8.4/static/libpq-notice-processing.html regards, tom lane
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