Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches

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.

Any comments/interests?


Attachment: simple-enc.tar.gz
Description: application/octet-stream (3.7 KB)


pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group