Re: BUG #2260: PGCrypto Memory Problem - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2260: PGCrypto Memory Problem
Date
Msg-id 14902.1140027708@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2260: PGCrypto Memory Problem  ("Daniel Blaisdell" <lunk.djedi@gmail.com>)
List pgsql-bugs
"Daniel Blaisdell" <lunk.djedi@gmail.com> writes:
> Table Setup:
> employeeid integer
> salt text
> md5password text

> Problem Query:
> select * from table where md5password = crypt('password',salt)

I tried this with dummy data and couldn't see any memory leak, using
Fedora Core 4 and CVS-tip postgres (but there've been no recent changes
in pgcrypto that would affect this).

I suspect you may have a memory leak in Gentoo's implementation of
crypt().  Another possible theory is that it's data-dependent, in which
case you need to show some sample data that triggers it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #2260: PGCrypto Memory Problem
Next
From: Tom Lane
Date:
Subject: Re: BUG #2259: never ending select from selects