X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A998B53496 for ; Mon, 9 May 2005 13:17:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45807-01 for ; Mon, 9 May 2005 16:17:23 +0000 (GMT) Received: from metroplex.netnation.com (metroplex.netnation.com [204.174.223.60]) by svr1.postgresql.org (Postfix) with ESMTP id 6B49453494 for ; Mon, 9 May 2005 13:17:22 -0300 (ADT) Received: from [66.38.134.26] (helo=[192.168.1.240]) by metroplex.netnation.com with esmtpa (Exim 4.50) id 1DVAwc-0006RW-92 for pgsql-admin@postgresql.org; Mon, 09 May 2005 09:17:22 -0700 Message-ID: <427F8D12.7020102@navarik.com> Date: Mon, 09 May 2005 09:17:22 -0700 From: Louisa Thue - Navarik Organization: Navarik Corp User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: unsubscribe References: <427A5472.8060004@roaringpenguin.com> <20050505174936.GA19346@dcc.uchile.cl> <427A60A9.7080309@roaringpenguin.com> In-Reply-To: <427A60A9.7080309@roaringpenguin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/92 X-Sequence-Number: 17521 David F. Skoll wrote: >Alvaro Herrera wrote: > > > >>Connect in standalone mode? >> >> > >Does not work. Tom Lane replied with the only thing that does work, >which we independently discovered about 30 seconds before hearing from >Tom. :-) > >The solution is to modify the PostgreSQL source code to skip the check, >and run the modified binary in standalone mode just to reset the >datallowconn flag to true. Once we did that, we quit and started >the normal server to complete the maintenance work. > >I recommend having a postgres single-user-mode command-line option >to disable the check, with a suitably stern warning in the man >page not to use it. :-) > >Regards, > >David. > >---------------------------(end of broadcast)--------------------------- >TIP 8: explain analyze is your friend > > > >