Re: psql and md5

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: psql and md5
Дата
Msg-id 1091475379.2725.11.camel@teetnang
обсуждение исходный текст
Ответ на Re: psql and md5  (Simon Windsor <simon.windsor@cornfield.org.uk>)
Ответы Re: psql and md5  (Pierre-Frédéric Caillaud<lists@boutiquenumerique.com>)
Список pgsql-general
В Пнд, 02.08.2004, в 19:21, Simon Windsor пишет:
> Hi
>
> You can always generate the md5 password using perl/php and store the password
> in database. I believe the next version of pgsql will have an internal md5
> function.

template1=# select version();

version

---------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 7.4.2 on i386-redhat-linux-gnu, compiled by GCC
i386-redhat-linux-gcc (GCC) 3.3.3 20040216 (Red Hat Linux 3.3.3-2.1)
(1 запись)

template1=# select md5('foo');
               md5
----------------------------------
 acbd18db4cc2f85cedef654fccc4a4d8
(1 запись)


>
> Simon
>
> On Monday 02 August 2004 15:43, John DeSoi wrote:
> > Is there a way to provide a md5 password directly to psql? I'm aware of
> > pgpass but I would like to store a md5 password in some other location
> > and then use it to execute commands with psql.
> >
> > Thanks,
> >
> > John DeSoi, Ph.D.
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
--
Markus Bertheau <twanger@bluetwanger.de>


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

Предыдущее
От: Prabu Subroto
Дата:
Сообщение: one view for 2 different tables
Следующее
От: Pierre-Frédéric Caillaud
Дата:
Сообщение: Re: psql and md5