From: | Peter Mount <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Emils Klotins <emils(at)mail(dot)usis(dot)bkc(dot)lv>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] crypt in Postgres? |
Date: | 2000-01-20 14:39:36 |
Message-ID: | Pine.LNX.4.10.10001201434160.4887-100000@maidast.retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, 20 Jan 2000, Peter Eisentraut wrote:
> On Thu, 20 Jan 2000, Emils Klotins wrote:
>
> > Hello, I wonder if there is something like crypt() function in
> > postgtres, which would use standard unix crypt?
>
> No, but you can easily write your own. See the chapter on functions in the
> programmer's guide.
Theres a UnixCrypt class in the JDBC driver which you could use. As its
all static, its easy to translate to another language.
Peter
--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2000-01-20 15:24:17 | inserting values into arrays |
Previous Message | D'Arcy J.M. Cain | 2000-01-20 13:53:22 | Re: [SQL] crypt in Postgres? |