libpq interfacing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux