Re: [HACKERS] update_pg_pwd

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] update_pg_pwd
Дата
Msg-id Pine.LNX.4.20.9912132158050.361-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] update_pg_pwd  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
On 1999-12-13, Jan Wieck mentioned:

>     I'll make these changes to update_pg_pwd(), now that  I  know
>     for sure what it is.
> 
>     One last point though. The comment says it's using lower case
>     name now to be callable from SQL, what it  isn't  because  of
>     it's Opaque return type in pg_proc.
> 
>         pgsql=> select update_pg_pwd();
>         ERROR:  typeidTypeRelid: Invalid type - oid = 0
> 
>     Is  that  a  wanted  (needed)  capability  or should I better
>     change the comment to reflect it's real nature?

Do as you seem fit. I just copied that together from other places. What's
important though, is that this function is also called other places, so if
you make it "trigger fit", then you ought to make it a wrapper around the
real one.

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pg_createuser
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Followup to my bug report