Re: UDFs - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: UDFs
Date
Msg-id 20070813092957.GA9977@depesz.com
Whole thread Raw
In response to UDFs  (jf <jf@danglingpointers.net>)
Responses Re: UDFs  (jf <jf@danglingpointers.net>)
List pgsql-general
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

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

pgsql-general by date:

Previous
From: jf
Date:
Subject: Re: UDFs
Next
From: jf
Date:
Subject: Re: UDFs