My script doen't do INSERTs

Поиск
Список
Период
Сортировка
От Nelson Ferreira Junior
Тема My script doen't do INSERTs
Дата
Msg-id Pine.LNX.3.96.980922154919.13730A-100000@mercurio.econnect.com.br
обсуждение исходный текст
Ответы Re: [INTERFACES] My script doen't do INSERTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
    Hi All,

    I wrote a simple CGI script only to see if libpq works... Its similar
to the first sample program that comes with libpq documentation.
    The only thing it does is to catch the SQL command that is supplyed in
a HTML form and pass this command to PostgreSQL's backend, showing the
results of the query in a html table.
    It works well with SELECT stataments, but it can't execute INSERT ou
DELETE commands. The user nobody (wich Apache is running over) has all
permissions set (I used : "grant all mytable to nobody;"). I can do these
INSERTs and DELETEs normaly with psql inteface, under user nobody ???

      Can anybody help me ?

                    Thanks.



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

Предыдущее
От: "REDCYT - Juan Carlos Liendro"
Дата:
Сообщение: java-postgresql
Следующее
От: "Eric H. Buschelmann"
Дата:
Сообщение: Python Interface Installation Problems