Skip site navigation (1) Skip section navigation (2)

Re: BUG #5268: PQgetvalue incorrectly returns 0

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Mike Landis <mlandis(at)pnmx(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5268: PQgetvalue incorrectly returns 0
Date: 2010-01-08 00:07:09
Message-ID: 20100108000709.GH4315@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-bugs by date

Next:From: Mark KirkwoodDate: 2010-01-08 00:31:30
Subject: Re: BUG #5268: PQgetvalue incorrectly returns 0
Previous:From: Mike LandisDate: 2010-01-07 20:20:58
Subject: Re: BUG #5268: PQgetvalue incorrectly returns 0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group