Search Postgresql Archives

Re: PQerrorMessage: suppress trailing new line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/24/07, Felix Kater <fkater@xxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux