PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> On PostgreSQL16 one can create a materialized view using ts_stat, but it
> breaks on PostgreSQL17 due to no finding the table from the ts_stat query
> (while the table does exist), please see below a test example.
This is expected: you'll need to qualify the table name. See the
very first compatibility entry in the v17 release notes.
regards, tom lane