Andres Freund <and...@anarazel.de> writes: > There's still an open item "Debate INFO messages in ATTACH PARTITION and > SET NOT NULL" for this thread. Is there anything further to be done? Or > are we content with this for v12?
IIRC, that's based on my complaint that these messages have no business being INFO level. I'm definitely not content with the current state. I proposed that we didn't need those messages at all, which Robert pushed back on, but I'd be willing to compromise by reducing them to NOTICE or DEBUG level. The actually intended use of INFO level is to mark messages that the user actively asked for (via VERBOSE or some morally-equivalent option), which is why that level has such high priority. If we had something like a VERBOSE option for ALTER TABLE, it'd make plenty of sense to follow VACUUM's precedent: if (params->options & VACOPT_VERBOSE) elevel = INFO; else elevel = DEBUG2; It seems a bit late to be inventing such a thing for v12 though. In the meantime, I'm not very content with random subsets of ALTER TABLE acting as if they have been granted permission to be VERBOSE. It's unfriendly, and it's inconsistent because there are so many other expensive ALTER TABLE actions that don't do this. regards, tom lane