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

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [SQL] crypt in Postgres?
Date
Msg-id m12BI1a-000AVkC@druid.net
Whole thread Raw
In response to Re: [SQL] crypt in Postgres?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
List pgsql-sql
Thus spake Peter Eisentraut
> 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.

In fact, see http://www.druid.net/darcy/files/chkpass.tgz for an example
of a user type that encrypts it's input.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-sql by date:

Previous
From: mpg4@duluoz.net
Date:
Subject: Geometric types in SELECT?
Next
From: Peter Mount
Date:
Subject: Re: [SQL] crypt in Postgres?