Re: Add SPLIT PARTITION/MERGE PARTITIONS commands - Mailing list pgsql-hackers

From Dmitry Koval
Subject Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Date
Msg-id 46e602cb-0aaa-4659-aa02-8d22cae770b5@postgrespro.ru
Whole thread Raw
In response to Re: Add SPLIT PARTITION/MERGE PARTITIONS commands  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
 > I noticed that Alvaro's comments from [1] have not yet been addressed,

Thanks!
I'm sorry, I missed this comment.

 > I'm wary of taking some static functions and making them non-static
...
 > For example, perhaps you don't need to expose both StoreRelCheck and
 > SetRelationNumChecks, but instead would be better served by exposing
 > StoreConstraints? ... Or maybe use AddRelationNewConstraints() ...

I replaced explosion of functions StoreRelCheck + SetRelationNumChecks
to StoreConstraints explosion. Probably function 
AddRelationNewConstraints is not very suitable for this ...


[1] 
https://www.postgresql.org/message-id/202502031640.zem6orjmmxoz@alvherre.pgsql

-- 
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com

Attachment

pgsql-hackers by date:

Previous
From: Steven Niu
Date:
Subject: Re: Forbid to DROP temp tables of other sessions
Next
From: Matheus Alcantara
Date:
Subject: Re: read stream on amcheck