Re: [SQL] crypt in Postgres?

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: peter_e(at)gmx(dot)net (Peter Eisentraut)
Cc: emils(at)mail(dot)usis(dot)bkc(dot)lv (Emils Klotins), pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] crypt in Postgres?
Date: 2000-01-20 13:53:22
Message-ID: m12BI1a-000AVkC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at){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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Mount 2000-01-20 14:39:36 Re: [SQL] crypt in Postgres?
Previous Message mpg4 2000-01-20 13:52:50 Geometric types in SELECT?