Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-04 Thread Craig Ringer
On 03/04/2013 11:57 PM, Cliff_Bytes wrote: > Merlin > > I will try your suggestion, thanks. I am somewhat surprised to find few > hacks related to my issue. And the BYTEA type and function documentation > leave much to be desired, IMHO, being a newbie on the Type BYTEA front. > One of the most he

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-04 Thread Cliff_Bytes
Merlin I will try your suggestion, thanks. I am somewhat surprised to find few hacks related to my issue. And the BYTEA type and function documentation leave much to be desired, IMHO, being a newbie on the Type BYTEA front. -- View this message in context: http://postgresql.1045698.n5.nabb

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-04 Thread Merlin Moncure
On Sun, Mar 3, 2013 at 9:54 PM, Cliff_Bytes wrote: > Hello All > > First, I am new to this great forum. > > I have a challenge on my hand as follows. I am a long time libpq user but > have never used the BYTEA data type nor its related functions until now. I > have am writing an interface for a

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Craig Ringer
On 03/04/2013 11:54 AM, Cliff_Bytes wrote: > I have a challenge on my hand as follows. I am a long time libpq user but > have never used the BYTEA data type nor its related functions until now. I > have am writing an interface for a web based application written in C using > libmcrypt and, of cou

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Cliff_Bytes
*That was a brilliant response! Thank you.* -- View this message in context: http://postgresql.1045698.n5.nabble.com/LIBPQ-Implementation-Requiring-BYTEA-Data-tp5747243p5747263.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com. -- Sent via pgsql-hackers mailing list

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Craig Ringer
On 03/04/2013 01:51 PM, Cliff_Bytes wrote: > I hope this pseudo illustrates more of what I am doing to insert encrypted > data into a bytea column and then query the same column for decryption. It does, but it doesn't let anyone compile it and actually reproduce the problem you're encountering or t

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Cliff_Bytes
Thanks for the reply, Craig Fair enough so a little more background, perhaps. I have the core of this program running (command line) successfully with libpq and mcrypt already for some time. My goal now is to house the encrypted file data in a table with all user processing done over the SSL int

Re: [HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Craig Ringer
On 03/04/2013 11:54 AM, Cliff_Bytes wrote: > Hello All > > First, I am new to this great forum. > > I have a challenge on my hand as follows. I am a long time libpq user but > have never used the BYTEA data type nor its related functions until now. I > have am writing an interface for a web based

[HACKERS] LIBPQ Implementation Requiring BYTEA Data

2013-03-03 Thread Cliff_Bytes
Hello All First, I am new to this great forum. I have a challenge on my hand as follows. I am a long time libpq user but have never used the BYTEA data type nor its related functions until now. I have am writing an interface for a web based application written in C using libmcrypt and, of cours