mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
Make UNKNOWN into an actual pseudo-type.
Previously, type "unknown" was labeled as a base type in pg_type, which perhaps had some sense to it because you were allowed to create tables with unknown-type columns. But now that we don't allow that, it makes more sense to label it a pseudo-type. This has the additional effects of forbidding use of "unknown" as a domain base type, cast source or target type, PL function argument or result type, or plpgsql local variable type; all of which seem like good holes to plug. Discussion: https://postgr.es/m/CAH2L28uwwbL9HUM-WR=hromW1Cvamkn7O-g8fPY2m=_7muJ0oA@mail.gmail.com
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
language such as C, using the version-1 interface, and registered
|
||||
with <productname>PostgreSQL</productname> as taking no arguments
|
||||
and returning the type <type>language_handler</type>. This
|
||||
special pseudotype identifies the function as a call handler and
|
||||
special pseudo-type identifies the function as a call handler and
|
||||
prevents it from being called directly in SQL commands.
|
||||
For more details on C language calling conventions and dynamic loading,
|
||||
see <xref linkend="xfunc-c">.
|
||||
|
||||
Reference in New Issue
Block a user