Re: tablecmds: reject CLUSTER ON for partitioned tables earlier - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: tablecmds: reject CLUSTER ON for partitioned tables earlier
Date
Msg-id abjocHubZk6Ky4Xp@paquier.xyz
Whole thread Raw
In response to Re: tablecmds: reject CLUSTER ON for partitioned tables earlier  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: tablecmds: reject CLUSTER ON for partitioned tables earlier
List pgsql-hackers
On Tue, Mar 17, 2026 at 09:12:13AM +0800, Chao Li wrote:
> Anyway, I added the asserts in ATExecAddInherit() and
> ATExecDropInherit() in v9. If you have a second thought, I can tune
> it further.

I have removed the assertions at the end, after looking at the
surroundings for hints.

> PFA v9:
> * 0001 - added a NO INHERIT test case in typed_table.sql
> * 0002 - added asserts in ATExecAddInherit and ATExecDropInherit.

The comments rmeoved from ATPrepAddInherit() were still not at the
correct location.  CreateInheritance() is the routine in charge of the
column and constraint checks.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: Improve OAuth discovery logging
Next
From: Michael Paquier
Date:
Subject: Re: Return pg_control from pg_backup_stop().