Re: [HACKERS] update_pg_pwd - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] update_pg_pwd
Date
Msg-id Pine.LNX.4.20.9912132158050.361-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] update_pg_pwd  (wieck@debis.com (Jan Wieck))
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: pg_createuser
Next
From: Bruce Momjian
Date:
Subject: Re: Followup to my bug report