my understanding was that pgcrypto was not compiled by default?
Furthermore, finding next to no documentation about it online and deciding
I only needed one function instead of an entire crypto API i decided it
would make the most sense to just code the 10 lines to do it myself.
On Mon, 13 Aug 2007, hubert depesz lubaczewski wrote:
> Date: Mon, 13 Aug 2007 11:29:58 +0200
> From: hubert depesz lubaczewski <depesz@depesz.com>
> To: jf <jf@danglingpointers.net>
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] UDFs
>
> On Mon, Aug 13, 2007 at 03:17:36PM +0000, jf wrote:
> > Trying to implement some simple digest routines via UDFs and for whatever
> > reason I get: ERROR: invalid memory alloc request size 4294967293 on
> > PG_RETURN_TEXT_P(); any ideas what the issue is exactly?
>
> just checking - you do realize that it's reinventing the wheel?
> i mean - the code already exists, and is bundled in standard postgresql
> sources?
> if not - use pgcrypto module from contrib/
>
> depesz
>
>