Re: Console output with libpq

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Console output with libpq
Дата
Msg-id 9955.1401483874@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Console output with libpq  (alpha_one_x86 <alpha_one_x86@first-world.info>)
Ответы Re: Console output with libpq  (alpha_one_x86 <alpha_one_x86@first-world.info>)
Список pgsql-interfaces
alpha_one_x86 <alpha_one_x86@first-world.info> writes:
> Hello, for each function call I have console ouput like:
>   : Success
> I wish drop it, I have already try with PQsetNoticeProcessor and PQsetNoticeReceiver.
https://github.com/alphaonex86/CatchChallenger/blob/134208501e8e6710f73b7f0d42e807c319bae923/tools/epoll-server/epoll-psql/main.cpp

You're barking up the wrong tree --- the backend sends no such messages.
Are you using libpq directly, or through some wrapper library?  If the
latter, maybe it's printing this.  Or perhaps it's from some debugging
code you forgot to remove in your application.
        regards, tom lane



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: alpha_one_x86
Дата:
Сообщение: Console output with libpq
Следующее
От: alpha_one_x86
Дата:
Сообщение: Re: Console output with libpq