pgsql-bugs(at)postgresql(dot)org writes:> Database variable is not dumped in pg_dump.
It's not supposed to be. See pg_dumpall.
regards, tom lane