FWIW I didn't like the error message:
cannot perform FREEZE on a partitioned table
but then I noticed other messages also say "cannot perform FREEZE". I
think they should all say "cannot perform COPY FREEZE" instead.
Not something for this patch to fix, though, I think.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services