Re: UDFs

From: jf <jf(at)danglingpointers(dot)net>
To: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: UDFs
Date: 2007-08-13 17:07:50
Message-ID: Pine.LNX.4.64.0708131706380.4503@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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(at)depesz(dot)com>
> To: jf <jf(at)danglingpointers(dot)net>
> Cc: pgsql-general(at)postgresql(dot)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
>
>

In response to

  • Re: UDFs at 2007-08-13 09:29:58 from hubert depesz lubaczewski

Responses

  • Re: UDFs at 2007-08-13 11:23:16 from hubert depesz lubaczewski

Browse pgsql-general by date

  From Date Subject
Next Message Mary Ellen Fitzpatrick 2007-08-13 17:12:50 Re: PITR for postgresql-7.3
Previous Message Lim Berger 2007-08-13 16:59:07 Re: "Out of memory" errors..