Please find attached some very simple encoders/decoders for bytea and base64.
Bytea encoder is very picky about what it leaves unescaped - basically the
char set ;-)
Since this seems to be a very poorly documented but much asked-for thing, I
you would maybe like to add this code to libpq (so that everyone benefits).
I'm aware that function renames might be necessary, though.
If you like, I could make the code fit into libpq, and send diffs.
pgsql-hackers by date
|Next:||From: Alessio Bragadini||Date: 2001-08-28 09:13:21|
|Subject: Re: bugs - lets call an exterminator!|
|Previous:||From: Bruno Mattarollo||Date: 2001-08-28 08:58:32|
|Subject: 7.1.3, IRIX 6.5 and gcc|
pgsql-patches by date
|Next:||From: Karel Zak||Date: 2001-08-28 09:55:28|
|Subject: Re: Bytea/Base64 encoders for libpq - interested?|
|Previous:||From: Barry Lind||Date: 2001-08-28 05:48:33|
|Subject: Re: [PATCHES] Attempt to clean up ExecSql() in JDBC|