Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brnSv-0006tp-Ud for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Oct 2016 14:46:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1brnSv-0002qo-Dt for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Oct 2016 14:46:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brnSG-0001PW-S0 for pgsql-bugs@postgresql.org; Wed, 05 Oct 2016 14:45:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brnSE-0000XM-4y for pgsql-bugs@postgresql.org; Wed, 05 Oct 2016 14:45:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u95EjpL1018655; Wed, 5 Oct 2016 10:45:51 -0400 From: Tom Lane To: xrensis@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start In-reply-to: <20161005142545.27238.26442@wrigleys.postgresql.org> References: <20161005142545.27238.26442@wrigleys.postgresql.org> Comments: In-reply-to xrensis@gmail.com message dated "Wed, 05 Oct 2016 14:25:45 -0000" Date: Wed, 05 Oct 2016 10:45:51 -0400 Message-ID: <18654.1475678751@sss.pgh.pa.us> X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org xrensis@gmail.com writes: > After the startup of the PostgreSQL server there is a state when it accepts > incoming connections but generates "FATAL: the database system is starting > up" as results for run queries. This is not a bug, it's expected behavior. > - Is there a known interface to check if the database is up and fully > functional and ready for queries? libpq's PQping() is a possibility. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs