Re: The mysterious pg_proc.protrftypes

Joel Jacobson <joel@compiler.org>

From: "Joel Jacobson" <joel@compiler.org>
To: "Pavel Stehule" <pavel.stehule@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-01-25T07:46:24Z
Lists: pgsql-hackers

Attachments

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"

/Joel

Commits

  1. Fix broken ruleutils support for function TRANSFORM clauses.

  2. Doc: improve documentation of pg_proc.protrftypes.