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.