David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> I think we should just block these from being called directly by
> adding a new column to pg_proc that allows a function to be marked as
> internal.
+1, although instead of a new column, would it make more sense to
invent a new prokind value?
> I don't see any need to have CREATE FUNCTION support this
> for UDFs,
-1. Extensions could have use for doing this too, and not allowing
extensions to have access to a feature the core code has is kind
of antithetical to project spirit IMO.
regards, tom lane