crypt(table.field) ? - Mailing list pgsql-general

From will trillich
Subject crypt(table.field) ?
Date
Msg-id 20010426091544.C12147@serensoft.com
Whole thread Raw
Responses Re: crypt(table.field) ?
Re: crypt(table.field) ?
List pgsql-general
i know "password" can be used in creating/altering user
information (as used via GRANT and REVOKE) but is there any
facility within postgres to CRYPT() a value?

    create rule new_folk as on insert to view_folk do instead
        insert into folk_table
            (created,login,password)
            values
            (current_timestamp,new.login,CRYPT(new.password))
            ;

or must this be done (say, in perl) before postgres sees it?

--
will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: last comma inside "CREATE TABLE ()" statements
Next
From: Ricardo Campos Passanezi
Date:
Subject: Re: PostgreSQL - PHP insert deleted from database immediately?