PQerrorMessage: suppress trailing new line?

Поиск
Список
Период
Сортировка
От Felix Kater
Тема PQerrorMessage: suppress trailing new line?
Дата
Msg-id 20070423160754.083ed202.fkater@googlemail.com
обсуждение исходный текст
Ответы Re: PQerrorMessage: suppress trailing new line?
Список pgsql-general
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)?

Thank You
Felix

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: dollar-quoting trouble
Следующее
От: Thomas Pundt
Дата:
Сообщение: Re: selective export for subsequent import (COPY)