From: | arun kv <arun(at)library(dot)iisc(dot)ernet(dot)in> |
---|---|
To: | PGSQL <pgsql-php(at)postgresql(dot)org> |
Cc: | dornelas(at)mssystems(dot)com, gerzson(at)php(dot)net, zsheran(at)yahoo(dot)com, dbrown(at)centennialwines(dot)com |
Subject: | libpq interfacing |
Date: | 2002-03-05 04:13:59 |
Message-ID: | Pine.BSO.4.21.0203050936510.18942-100000@library.iisc.ernet.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
hello,
i am accessing a postgresql table using libpq interface ( i.e. c
program) i am opening a text file and reading contents and trying to
insert the same to postgresql table. suppose i read some string
like"computer" from file and stored in a variable key. no i want to write
the content of key to table i.e using insert command. if i give insert
into table tbname (aaa,bbb) values ('aaa','key'); it inserts aaa and key
to table which was to be aaa and computer. this is a c program using libpq
tool. can someone help me in executing this.
thanx
Arun
From | Date | Subject | |
---|---|---|---|
Next Message | Miguel Carvalho | 2002-03-05 14:58:42 | Re: libpq interfacing |
Previous Message | Papp Gyozo | 2002-03-03 10:32:19 | Re: resource logging to optimize DBMS queries: how match access_log to pg log? |