By the way, this is not mentioned in CREATE MATERIALIZED VIEW documentation, although we can find in REFRESH MATERIALIZED VIEW doc. So, I sent the doc patch in [1], and create a commitfest entry [2].
Thanks.
I suggest adding CREATE INDEX and CREATE MATERIALIZED VIEW to the release notes list of commands, as I looked for CREATE INDEX there and only raised this due to its absence.