- Mailing list pgsql-sql

From MUKTA
Subject
Date
Msg-id 007701c3e65f$bc001730$ea08a8c0@mukta
Whole thread Raw
Responses Re:
List pgsql-sql
Hi!
I want to insert values into a table using the C syscalls provided by the libpq library, but i find that i cant insert into the table when i use variables instead of values...like so:
int a,b,c,d;
using the C function
 
res=PQexecute(Conn,"INSERT into table values(a,b,c,d));....
 
Is there some special way to insert variables rather than plain values? do i have to build functions (in sql) or somehting?help!
Thanx
Mukta

pgsql-sql by date:

Previous
From: Paul Hart
Date:
Subject: Re: Help! Error with postgresql!
Next
From: Bill Moran
Date:
Subject: Re: [PERFORM] Set-Returning Functions WAS: On the performance of