Re: PQerrorMessage: suppress trailing new line?

Поиск
Список
Период
Сортировка
От Andrej Ricnik-Bay
Тема Re: PQerrorMessage: suppress trailing new line?
Дата
Msg-id b35603930704231614g40d73f06wec845fa876efbc5b@mail.gmail.com
обсуждение исходный текст
Ответ на PQerrorMessage: suppress trailing new line?  (Felix Kater <fkater@googlemail.com>)
Ответы Re: PQerrorMessage: suppress trailing new line?
Список pgsql-general
On 4/24/07, Felix Kater <fkater@googlemail.com> wrote:
> Hi,
>
> the messages returned by PQerrorMessage() contain a trailing new line.
> So, they doesn't nicely integrate into strings formatted by printf.
>
> Is there a way to suppress the trailing new line (except for
> alloc/copy to a new string)?
The alloc kind of suggests that you're using C ... is that
correct?  Either way - please be a bit more specific as to what you're
trying to achieve by which means.


> Thank You
> Felix
Cheers,
Andrej

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

Предыдущее
От: Benjamin Arai
Дата:
Сообщение: Slow query using simple equality operators
Следующее
От: Ketema
Дата:
Сообщение: where clause help