PostgreSQL and C programming HELP!
Hello Linux experts:
I have a simple question: I am using a simple C application to acces a PostgreSQL data base. I am using PQexec and all that stuff. My question is very simple now...How can I acces the database, send a query like "SELECT * FROM table WHERE something = 1;", How do i get the value of that something which primary key is 1, for example, and assing that to an array i can display?
I'll be glad, if someone can give me an answer for this thing, or some example! :!: :!: :!: