Re: libpq/INSERT

From: liam <allenwc(at)home(dot)com>
To: "Andy Champion" <andychampion(at)hotmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq/INSERT
Date: 2001-04-24 16:13:36
Message-ID: a05010400b70b5618dad1@[192.168.0.4]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

At 3:31 PM +0000 4/24/01, Andy Champion wrote:
>Hi, i'm trying to insert data pulled into a postgresql database but
>i'm having some problems with the inserts.
>
>i know that this:
>sprintf(insert_string, "INSERT INTO udpdata VALUES (1234);\n");
>

i= 1234 ;
sprintf (insert_string, "INSERT INTO updata VALUES(%i);\n",i) ;

it's just plain old ordinary ansi c.
--
Later . . . 'liam

allenwc(at)home(dot)com
William C Allen, BLS, EET

"It may be that your sole purpose in life is to serve as a warning to others"
At least I /have/ a purpose!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Oliver Elphick 2001-04-24 16:14:33 Re: libpq/INSERT
Previous Message Alexey Nalbat 2001-04-24 15:55:32 c-function returning multiple rows