Re: inherits clause for CREATE TYPE? -

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: inherits clause for CREATE TYPE? -
Date: 2019-12-18 19:06:38
Message-ID: 13519.1576695998@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> My idea is implement inherits clause for CREATE TYPE command.

-1. We have enough problems dealing with alterations of inherited
rowtypes already. As long as inheritance is restricted to tables,
we can use table locking to help prevent problems --- but there's
no provision for locking free-standing types. And introducing
locking on types would cost way more than this seems likely to be
worth.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2019-12-18 19:29:22 Re: Read Uncommitted
Previous Message Stephen Frost 2019-12-18 18:59:21 Re: Windows port minor fixes