X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id EF14E9DC99A for ; Wed, 14 Dec 2005 10:19:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34392-06 for ; Wed, 14 Dec 2005 10:19:58 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 45D3D9DC9CB for ; Wed, 14 Dec 2005 10:19:52 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id jBEEJnOh088851 for ; Wed, 14 Dec 2005 14:19:49 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id jBEDwHET069447 for pgsql-admin@postgresql.org; Wed, 14 Dec 2005 13:58:17 GMT (envelope-from news) From: Hannes Dorbath X-Newsgroups: pgsql.admin Subject: Configfiles outside initDB dir Date: Wed, 14 Dec 2005 14:59:46 +0100 Organization: Hub.Org Networking Services Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Thunderbird 1.4 (Windows/20050908) To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-1.44 required=5 tests=[ALL_TRUSTED=-1.44, AWL=-0.000] X-Spam-Score: -1.44 X-Spam-Level: X-Archive-Number: 200512/120 X-Sequence-Number: 19840 Hi, I want to have postgresql.conf and pg_hba.conf outside the directory created by initDB. $PGDATA points to the directory the config files reside in (and nothing else) and in postgresql.conf the option "data_directory" is set to the directory containing the cluster created by initDB. I can use pg_ctl start but pg_ctl stop failes as it expects the pid file in the dir with the config files. I tried the option "external_pid_file". A second pid file in the config files dir is created but never deleted. How to do it correctly? Thanks -- Regards, Hannes Dorbath