My script doen't do INSERTs - Mailing list pgsql-interfaces

From Nelson Ferreira Junior
Subject My script doen't do INSERTs
Date
Msg-id Pine.LNX.3.96.980922154919.13730A-100000@mercurio.econnect.com.br
Whole thread Raw
Responses Re: [INTERFACES] My script doen't do INSERTs
List 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 by date:

Previous
From: "REDCYT - Juan Carlos Liendro"
Date:
Subject: java-postgresql
Next
From: "Eric H. Buschelmann"
Date:
Subject: Python Interface Installation Problems