Re: [GENERAL] PQerrorMessage documentation

2017-05-04 Thread Igor Korot
Hi, On Thu, May 4, 2017 at 9:57 PM, Peter Eisentraut wrote: > On 5/3/17 21:23, Igor Korot wrote: >> Hi, ALL, >> [quote] >> Nearly all libpq functions will set a message for PQerrorMessage if >> they fail. Note that by libpq convention, a nonempty PQerrorMessage

Re: [GENERAL] PQerrorMessage documentation

2017-05-04 Thread Peter Eisentraut
On 5/3/17 21:23, Igor Korot wrote: > Hi, ALL, > [quote] > Nearly all libpq functions will set a message for PQerrorMessage if > they fail. Note that by libpq convention, a nonempty PQerrorMessage > result can consist of multiple lines, and will include a trailing > newline. The caller should not

[GENERAL] PQerrorMessage documentation

2017-05-03 Thread Igor Korot
Hi, ALL, [quote] Nearly all libpq functions will set a message for PQerrorMessage if they fail. Note that by libpq convention, a nonempty PQerrorMessage result can consist of multiple lines, and will include a trailing newline. The caller should not free the result directly. It will be freed when