Bytea/Base64 encoders for libpq - interested?

From: Joerg Hessdoerfer <Joerg(dot)Hessdoerfer(at)sea-gmbh(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Bytea/Base64 encoders for libpq - interested?
Date: 2001-08-28 09:07:32
Message-ID: 5.1.0.14.0.20010828110111.00b07bd0@192.168.0.1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi!

Please find attached some very simple encoders/decoders for bytea and base64.
Bytea encoder is very picky about what it leaves unescaped - basically the
base64
char set ;-)

Since this seems to be a very poorly documented but much asked-for thing, I
thought
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.

Any comments/interests?

Greetings,
Joerg

Attachment Content-Type Size
simple-enc.tar.gz application/octet-stream 3.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alessio Bragadini 2001-08-28 09:13:21 Re: bugs - lets call an exterminator!
Previous Message Bruno Mattarollo 2001-08-28 08:58:32 7.1.3, IRIX 6.5 and gcc

Browse pgsql-patches by date

  From Date Subject
Next Message Karel Zak 2001-08-28 09:55:28 Re: Bytea/Base64 encoders for libpq - interested?
Previous Message Barry Lind 2001-08-28 05:48:33 Re: [PATCHES] Attempt to clean up ExecSql() in JDBC