Re: BUG #5268: PQgetvalue incorrectly returns 0 - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #5268: PQgetvalue incorrectly returns 0
Date
Msg-id 20100108000709.GH4315@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #5268: PQgetvalue incorrectly returns 0  (Mike Landis <mlandis@pnmx.com>)
List pgsql-bugs
Mike Landis wrote:
> <html>
> <body>
> <font color="#0000FF">Pick a database and table that exists, configure
> the string cconstants, compile and run the attached cpp, get 0 instead of
> 1 (that you get in pgAdmin...<br><br>

You realize that information_schema only shows you tables that have
permissions on, right?  Make sure you're using the same user in pgAdmin
than in your program.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-bugs by date:

Previous
From: Mike Landis
Date:
Subject: Re: BUG #5268: PQgetvalue incorrectly returns 0
Next
From: Mark Kirkwood
Date:
Subject: Re: BUG #5268: PQgetvalue incorrectly returns 0