[PATCHES] [PATCH] pgcrypto: pgp_encrypt

2005-06-22 Thread Marko Kreen
Finally, here is pgp_encrypt()/pgp_decrypt() - implementation of password-based encryption from RFC2440 (OpenPGP). The goal of this code is to be more featureful encryption solution than current encrypt(), which only functionality is running cipher over data. Compared to encrypt(), pgp_encrypt()

Re: [PATCHES] plperl better array support

2005-06-22 Thread Andrew Dunstan
I wrote: The attached patch (submitted for comment) is somewhat adapted from one submitted last October. This allows returning a perl array where a postgres array is expected. example: andrew=# create function blurfl() returns text[] language plperl as $$ andrew$# return ['a','b','c','a"

Re: [PATCHES] plperl validator function

2005-06-22 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > That attached 2 patches implement a validator function for plperl, and > support for it in createlang. Applied. (BTW, a single patch file is generally easier to deal with.) > This has somewhat less utility than do such functions for languages with >

Re: [PATCHES] thousands comma numeric formatting in psql

2005-06-22 Thread Eugen Nedelcu
Hello, I have included my patch attached to this mail. I have made the changes to deal with locale settings from client environment. So now you can start psql like this: (export LC_ALL=ro_RO; psql -U user db) and have numeric formatting with '.' as thousands separator and ',' as decimal point,