On 4/24/07, Felix Kater <fkater(at)googlemail(dot)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