Allow the syntax CREATE TYPE foo, with no parameters, to permit explicit

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8e68d783902b0b47f377efa4a23a04ddeef272a8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-02-28T22:37:27Z
Releases: 8.2.0
Allow the syntax CREATE TYPE foo, with no parameters, to permit explicit
creation of a shell type.  This allows a less hacky way of dealing with
the mutual dependency between a datatype and its I/O functions: make a
shell type, then make the functions, then define the datatype fully.
We should fix pg_dump to handle things this way, but this commit just deals
with the backend.

Martijn van Oosterhout, with some corrections by Tom Lane.

Files