pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MUKTA <muktavasudeva@hfcl.com>
To: pgsql-sql@postgresql.org
Date: Thu, 29 Jan 2004 17:32:10 +0530
Message-ID: <007701c3e65f$bc001730$ea08a8c0@mukta> (raw)

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

Message-ID: <007701c3e65f$bc001730$ea08a8c0@mukta>
Permalink:  ../007701c3e65f$bc001730$ea08a8c0@mukta/
Also on:    postgresql.org/message-id/007701c3e65f$bc001730$ea08a8c0@mukta

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: muktavasudeva@hfcl.com
  Subject: Re: 
  In-Reply-To: <007701c3e65f$bc001730$ea08a8c0@mukta>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox