Re: Odd error with all-zones commands

Peter van Dijk <[email protected]>
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <[email protected]>
Hello James,

On Feb 6, 2013, at 20:47 , James Cloos wrote:

> Should that call use doQuery() instead?  The difference, of course, is
> that doQuery() expects PGRES_TUPLES_OK whereas doCommand() expects
> PGRES_COMMAND_OK.


Yes, it should use doQuery. This was fixed by Ruben d'Arco in r2645, which means the fix is in 3.2.

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.