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 course, libpq. For anyone with a similar issue who finds this later, it's been cross-posted to Stack Overflow at http://stackoverflow.com/questions/15196151/preparing-storing-retrieving-encrypted-data-in-postgresql . Look there for information too.
-- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services