On Saturday, October 27, 2001, at 10:25 AM, Tom Lane wrote:
> Chris Ruprecht <chrup999@yahoo.com> writes:
>> I got the postmaster up just fine, too. Then, when I tried 'createdb
>> msms' I got an error that the backend has disconnected - the
>> postmaster was still up though.
>> When I tried again, I got messages that the directory I was trying to
>> create already existed. I tried this a few times to no avail.
>
> A guess is that there's some sort of problem with the
> system("cp -r ....")
> call that CREATE DATABASE uses to copy template1. But I don't see why
> that'd cause a backend crash. You'll need to trace through the code to
> learn more, in any case. Look in src/backend/commands/dbcommands.c.
>
> BTW, although PG 7.1 is reported to run okay under 10.0.4, we have
> heard unconfirmed reports that it needs patches for 10.1. You might
> want to look around for those before proceeding.
Patches and details can be found at
http://www.psyex.com/techdocs/pgonx.html
After upgrading from 10.0.4 to 10.1, createdb and dropdb both stopped
working
(backend has disconnected errors). Building fresh under 10.1 failed
without
the patches.
--
Stuart Bishop <zen@shangri-la.dropbear.id.au>
http://shangri-la.dropbear.id.au/