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@xxxxxxxxxx> > To: jf <jf@xxxxxxxxxxxxxxxxxxxx> > Cc: pgsql-general@xxxxxxxxxxxxxx > Subject: Re: 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 > > ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org/