Michael Paquier <michael@paquier.xyz> writes: > On Tue, Apr 23, 2019 at 04:47:19PM -0400, Tom Lane wrote: >> Is there some precondition you're not mentioning?
> Hm. In my own init scripts, I create a new database just after > starting the instance.
Ah, there we go:
regression=# create database d1; CREATE DATABASE regression=# \c d1 You are now connected to database "d1" as user "postgres". d1=# reindex index pg_class_relname_nsp_index; psql: server closed the connection unexpectedly