Re: Cannot create a type in pg_catalog - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Cannot create a type in pg_catalog
Date
Msg-id 1504.1187880001@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cannot create a type in pg_catalog  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Cannot create a type in pg_catalog
List pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Dave Page wrote:
>> - "are currently disallowed" implies that sometimes it is allowed. How
>> does one control that, or is it implying something that is not the case,
>> or only the case in unusual circumstances such as a standalone backend?

> It is allowed in standalone mode AFAIR (maybe when specifying a flag
> like -P or -O).

Yeah, you need one of those switches, I can never remember which is
which without looking.

The actual prohibition is on inserting a new pg_class row, which Dave's
command is trying to do because he's trying to create a composite type.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Cannot create a type in pg_catalog
Next
From: Dave Page
Date:
Subject: Re: Cannot create a type in pg_catalog