<blockquote> Sorry. I didn't see your last line. Have you tried restarting the postmaster?
</blockquote>
Well, to be exact, it is only the connection that drops, not postmaster.
<blockquote> Also you can do: "createlang plpgsql template1", which will automatically create the pgsql
language for every new database.
</blockquote>
Yes, that would make it a little easier to start all over 😉