Re: [ADMIN] Assistance with libpq

2013-03-01 Thread Albe Laurenz
Jesse Johnson wrote: > I have an issue that is driving me crazy. I am using libpq on linux in C. The > insert code below > inserts one key/data pair record with as both as BYTEA into database test2: Your code as you posted it is not complete (no #includes, undefined "exit_nicely"). This makes it

[ADMIN] Assistance with libpq

2013-02-28 Thread Jesse Johnson
Hello, I have an issue that is driving me crazy. I am using libpq on linux in C. The insert code below inserts one key/data pair record with as both as BYTEA into database test2: PGresult* put_data_to_test2(PGconn* conn, int key_size, const char* const key, int data_size, const char* const data)