Web, PostgreSQL, C

Поиск
Список
Период
Сортировка
От Margarita Barvinok
Тема Web, PostgreSQL, C
Дата
Msg-id Pine.SOL.4.10.9908101238310.6890-100000@stargate.rs.itd.umich.edu
обсуждение исходный текст
Ответы Re: [INTERFACES] Web, PostgreSQL, C
Список pgsql-interfaces
Hi All,

Sorry for stupid questions but all this stuff is new for me.
I am working on a CGI program to access Postgres DB from the Web.
I would like to use C for CGI.
I took standard post-query.c program that transfer data from Web to the
program.
Then I add some Postgres staff and compile the program with Postgres
libraries. And the program doesn't work. It dives this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Even more... If I compile (by gcc) post-query.c program adding to -I, -L,
-l options Postgres include and lib directories, the program gives the
same error.
What is wrong? Do I need to install something or change configuration
somewhere? 
I have PostgreSQL 6.5

Any help will be greatly appreciated.
Thank you,
-Margarita



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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [INTERFACES] Proper use of Transactions...
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: [INTERFACES] Web, PostgreSQL, C