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