Patch to eliminate duplicate b64 code from pgcrypto - Mailing list pgsql-hackers

From Marc Munro
Subject Patch to eliminate duplicate b64 code from pgcrypto
Date
Msg-id 1216335149.11208.9.camel@bloodnok.com
Whole thread Raw
Responses Re: Patch to eliminate duplicate b64 code from pgcrypto  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
I am attaching a patch to eliminate duplicate b64_encode and decode
functions from pgcrypto, and to expose those functions for use by
add-ins (I want to use them in Veil).

The patch was made against CVS head today.  It compiles and tests
successfully.  Though I was unable to run pgrypto regression tests, I
did give the b64 encoding a sanity check.

I also added a b64_char() function that is now used from pgcrypto.  This
allowed me to remove the duplicate _base64 character array.

I hope this is the correct place to submit the patch.  The wiki
(http://wiki.postgresql.org/wiki/Submitting_a_Patch) refers to
pgsql-patches but I believe that is now deprecated.


__
Marc

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] "\ef " in psql
Next
From: Simon Riggs
Date:
Subject: Re: [PATCH]-hash index improving