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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Problem using PQgetvalue()



Hi I am using PQgetvalue() function in c to get the value of a field like

PQgetvalue(result,0,2)

but the program outputs following

"column number 2 is out of range 0..0"

Can someone tell me how can I get this field and whats wrong?

Thanks


Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.

Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group