Re: migrate hashname function from 8.1.x to 8.4

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Nicolas Garfinkiel <nicolas(dot)garfinkiel(at)genesis-manlab(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: migrate hashname function from 8.1.x to 8.4
Date: 2011-01-11 15:41:19
Message-ID: 4D2C7A1F.4050600@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nicolas Garfinkiel wrote:
>
> I'm trying to upgrade our pgsql from 8.1 to 8.4, but our system's
> login uses the hashname() function in order to get the proper password
> validation. Now pgsql's 8.4 hashname function is not compatible with
> 8.1's function. Do you have any ideas how I can reproduce 8.1 function
> in 8.4?
>

https://github.com/petere/pgvihash provides the function you're looking for.

I agree with Craig's concerns here, but this may let you convert toward
a better long-term format more easily.

--
Greg Smith 2ndQuadrant US greg(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karayappalli, Raghunath (Raghu) 2011-01-11 17:37:42 Re: database is growing... 1GB per day basis
Previous Message ๏̯͡๏ Guido Barosio 2011-01-11 14:27:23 Re: [pgsql-es-ayuda] Para participantes extranjeros en el Tercer PGDay Latinoamericano.