Re: [HACKERS] update_pg_pwd

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Wieck <wieck(at)debis(dot)com>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] update_pg_pwd
Date: 1999-12-13 23:28:50
Message-ID: Pine.LNX.4.20.9912132158050.361-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dalphin 1999-12-13 23:32:42 Re: Followup to my bug report
Previous Message Peter Eisentraut 1999-12-13 23:28:07 pg_createuser