Re: The mysterious pg_proc.protrftypes

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Joel Jacobson <joel@compiler.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-01-25T08:01:33Z
Lists: pgsql-hackers
po 25. 1. 2021 v 8:47 odesílatel Joel Jacobson <joel@compiler.org> napsal:

> On Mon, Jan 25, 2021, at 08:14, Pavel Stehule wrote:
> >you should to use TRANSFORM clause in CREATE FUNCTION statement
>
> Thanks, it worked, and like expected it references the pg_type.oid of the
> transform.
>
> Attached patch adds "(references pg_type.oid)" to the documentation
> for pg_proc.protrftypes.
>
> Suggested commit message: "Document the fact that pg_proc.protrftypes
> references pg_type.oid"
>

+1

Pavel


> /Joel
>

Commits

  1. Fix broken ruleutils support for function TRANSFORM clauses.

  2. Doc: improve documentation of pg_proc.protrftypes.