really simple example of c-code and pqlib library

Поиск
Список
Период
Сортировка
От Waldemar Biernacki
Тема really simple example of c-code and pqlib library
Дата
Msg-id 200606192211.44326.wb@sao.pl
обсуждение исходный текст
Ответы Re: really simple example of c-code and pqlib library  (Michael Fuhr <mike@fuhr.org>)
Список 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

В списке pgsql-novice по дате отправления:

Предыдущее
От: Charlie
Дата:
Сообщение: Re: cannot access directory /pg_tblspc/*
Следующее
От: "satheesh Gnanasekaran"
Дата:
Сообщение: Doubt in stored procedure