From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | wieck(at)debis(dot)com (Jan Wieck) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org (PostgreSQL HACKERS) |
Subject: | Re: [HACKERS] update_pg_pwd |
Date: | 1999-12-13 04:57:49 |
Message-ID: | 7952.945061069@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
wieck(at)debis(dot)com (Jan Wieck) writes:
> actually the opr_sanity regression test complains about a
> proc update_pg_pwd(). It has a return type of Opaque and is
> declared as void return type in commands/user.c. It seems to
> be nowhere directly called, nor does it appear to be a
> trigger function.
It is a trigger function for pg_shadow updates, see PATCHES message
from a day or two back.
> I wonder if it is properly defined. Shouldn't it return at
> least a valid type to be callable via SQL?
opr_sanity is complaining because the declared return type is 0.
I am not very happy about taking out opr_sanity's check on return types;
perhaps I should lobby to have Opaque-valued trigger functions be
declared with an actually valid return-type OID. What do you think?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-12-13 05:19:27 | RE: [HACKERS] LONG |
Previous Message | Bruce Momjian | 1999-12-13 04:34:11 | Re: [HACKERS] generic LONG VARLENA |