Hi BTW keep in mind that indexes on partitioned tables are transiently marked invalid too. Your RangeVarGetRelid callback will (I think) reject an attempt to call this on that kind of table, but it may be a bit obscure, and you don't have any comments on why.
I still think that adding ad-hoc DDL syntax is the wrong amount of intrusion. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Hay que recordar que la existencia en el cosmos, y particularmente la elaboración de civilizaciones dentro de él no son, por desgracia, nada idílicas" (Ijon Tichy)
