Re: [ADMIN] Ghost insert

From: Enrique Rodriguez Lazaro <enrique(at)xpress(dot)es>
To: Jan Kim <kim(at)mpiz-koeln(dot)mpg(dot)de>
Subject: Re: [ADMIN] Ghost insert
Date: 1999-12-23 12:10:18
Message-ID: 3862112A.654DCF89@xpress.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Jan Kim wrote:
>
> On Wed, Dec 22, 1999 at 07:51:28PM +0100, Enrique Rodriguez Lazaro wrote:
> > Hi.
> >
> > I am trying to do a interface from a web over my database postgresql
> > whit libpq.
> >
> > I can't do a simple 'insert' from libpq.
> >
> > I'm doing this:
> >
> > sprintf(temp_string,"insert into clientes
> > values('fff','prueba','123','123','pepe gotera','jjjjjj','jjj')");
> ^
>
> The semicolon delimiting the SQL clause is missing here. This might
> be the problem.
>
> While I haven't tried to reproduce the problem at my system, I remember
> that omitting the semicolon in a clause passed to ``psql -c'' may result
> in failure of the clause to produce any effect.
>
> Greetinx, Jan
> --
> +- Jan T. Kim -------------------------------------------------------+
> | email: kim(at)mpiz-koeln(dot)mpg(dot)de |
> | WWW: http://www.mpiz-koeln.mpg.de/~kim/ |
> *-----=< hierarchical systems are for files, not for humans >=-----*
>
> ************

Thancs for you answer, but that isn't the problem. In any case, I have
tried puting a semicolon but the result it's the same, the query result
it's OK but the table of my database continue empty.

Another idea.

Thaks again.
--
Enrique Rodríguez Lázaro
Dpo. Técnico Xpress
Avd. Pérez Gadós, 13 9º
Valencia - 46007

Browse pgsql-interfaces by date

  From Date Subject
Next Message Mike Mascari 1999-12-23 13:28:13 Re: [INTERFACES] INTERFACES ODBC
Previous Message SHARMA, Vivek, GNW IT 1999-12-23 12:02:26 RE: JDBC: Getting started with Serialization