Skip site navigation (1) Skip section navigation (2)

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] (view raw or whole thread)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group