Re: hashtext function disappears in 7.2?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: gry(at)ll(dot)mit(dot)edu
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: hashtext function disappears in 7.2?
Date: 2002-03-18 23:20:37
Message-ID: 200203182320.g2INKbK00116@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

george young wrote:
> Since I upgraded from 7.0.3 to 7.2, I can't find the
> sql function "hashtext". Why has it been discontinued?
>
> Is there some alternate new way to take a text value and
> get an unique integer? I use this as an argument to the contributed
> (and invaluable!) user_write_lock_oid(int) function to manage
> advisory locks on arbitrary named objects.

Can you use MD5 in /contrib/crypto?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Kancha . 2002-03-19 08:25:33 create function problem
Previous Message Stephan Szabo 2002-03-18 22:51:24 Re: Line Numbering in SELRCT Output