"K. Ari Krupnikov" <ari@iln.net> writes:
> This happens when I connect to an *existing* (rather newly created)
> database!
> A script connects to template1; drops a database; creates it; connects
> to it; the ther thing crashes.
Not for us. You'll have to provide more info. Peter's request for
a stack traceback from the corefile seems like a good next step to me.
(Better compile with -g first, if you didn't already.)
regards, tom lane