really simple example of c-code and pqlib library

From: Waldemar Biernacki <wb(at)sao(dot)pl>
To: pgsql-novice(at)postgresql(dot)org
Subject: really simple example of c-code and pqlib library
Date: 2006-06-19 20:11:43
Message-ID: 200606192211.44326.wb@sao.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello everybody!

I'm very frustated as the examples in postgres-libpq don't work for me.

If someone could present me a very simple code with connecting to database,
quering few records, printing them on console and disconnecting I'd be happy.

An example would be prepared for postgres 8 (standard installation) on linux
(gcc) or windows(dev-cpp with mingw). Generally I'm not beginner in
programming,.. anly this libpq...

thank you, I'm inpatientally waiting for any help.

Waldemar

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Christo Romberg 2006-06-19 20:19:38 Re: SQL-commands does not work
Previous Message Michael Swierczek 2006-06-19 18:15:30 Re: SQL-commands does not work