Re: [SQL] crypt in Postgres? - Mailing list pgsql-sql

From Peter Mount
Subject Re: [SQL] crypt in Postgres?
Date
Msg-id Pine.LNX.4.10.10001201434160.4887-100000@maidast.retep.org.uk
Whole thread Raw
In response to Re: [SQL] crypt in Postgres?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List 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@retep.org.uk     Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgresJava PDF Generator: http://www.retep.org.uk/pdf



pgsql-sql by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [SQL] crypt in Postgres?
Next
From: Thomas Lockhart
Date:
Subject: inserting values into arrays