Ghost insert

Поиск
Список
Период
Сортировка
От Enrique Rodriguez Lazaro
Тема Ghost insert
Дата
Msg-id 3861E550.8ED9448@xpress.es
обсуждение исходный текст
Ответы Re: [INTERFACES] Ghost insert
Re: [INTERFACES] Ghost insert
Список 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 по дате отправления: