RE: New Type

Поиск
Список
Период
Сортировка
От Krotenko Valery V.
Тема RE: New Type
Дата
Msg-id 8134443A7FD1D211A33900104BB51A8A7659@bigstar.etr.ru
обсуждение исходный текст
Ответ на New Type  (Olivier PRENANT <ohp@pyrenet.fr>)
Список pgsql-hackers
>Hi all,
>I'm trying to create a type password; the goal is to have a table
like:
>CREATE TABLE test (>username varchar,>pass passwd);
>insert into test values ('me','secret');
>and have "secret" being automagicly crypted.
>What I want is to mimic the PASSWORD function of mysql but much
better,>not having to call a function.
>I just can't figure how to write the xx_crypt(opaque) returns
opaque>function.
>Any help available???
>TIA
I have function for crypt password in MD5(c - function). Are you
need it.
Valery Krotenko. 




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Mention WAL in the book
Следующее
От: Bruce Momjian
Дата:
Сообщение: secondary password files