Re: BUG #4964: return value does not agree with documentation

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: jasen Betts <jasen(at)xnet(dot)co(dot)nz>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4964: return value does not agree with documentation
Date: 2009-08-05 14:15:25
Message-ID: 4A7993FD.2040702@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

jasen Betts wrote:
> PQsendQuery() seems to return 0 on success and 1 on failure contrary to the
> documented behavior.
>
> http://www.postgresql.org/docs/8.3/interactive/libpq-async.html

Umm, no, the documentation is correct. You must be doing something
wrong, but it's hard to guess what it is without more details.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2009-08-05 14:46:50 BUG #4965: missing tests in tools/fsync/test_fsync.c
Previous Message Michael Meskes 2009-08-05 11:51:21 Re: BUG #4955: ECPG produces incomplete code