Ghost insert - Mailing list pgsql-interfaces

From Enrique Rodriguez Lazaro
Subject Ghost insert
Date
Msg-id 3861E550.8ED9448@xpress.es
Whole thread Raw
Responses Re: [INTERFACES] Ghost insert  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Re: [INTERFACES] Ghost insert  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
Hi.I am trying to do a interface from a web over my database postgresqlwhit libpq.I can't do a simple 'insert' from
libpq.I'mdoing this:sprintf(temp_string,"insert into clientesvalues('fff','prueba','123','123','pepe
gotera','jjjjjj','jjj')");res1=PQexec(conn,temp_string);tuplas=PQresultStatus(res1);imprime_cab_html(0);printf("Resultado:
%s<br><p>\n",PQresStatus(tuplas));printf("Temp_string:%s\n",temp_string);*****And the result on my web it's
OK:Resultado:PGRES_COMMAND_OKTemp_string: insert into clientesvalues('fff','prueba','123','123','pepe
gotera','jjjjjj','jjj')Butthe insert hasn't effect on my database. If from my database i do'select * from clientes;'
theresult it's empty.Where it's the problem?.Thanks in advanced.************
 


pgsql-interfaces by date:

Previous
From: Dave Page
Date:
Subject: RE: [INTERFACES] pgadmin question
Next
From: Enrique Rodriguez Lazaro
Date:
Subject: Re: [ADMIN] Ghost insert