postgres provider: don't look for topology layers without topology support (fixes #9453)