X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48C2ED1D1E2 for ; Thu, 11 Dec 2003 15:01:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 51891-06 for ; Thu, 11 Dec 2003 11:01:09 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 0F77FD1D300 for ; Thu, 11 Dec 2003 11:01:05 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hBBF1819013259; Thu, 11 Dec 2003 10:01:08 -0500 (EST) To: Bhartendu Maheshwari Cc: pgsql-admin@postgresql.org Subject: Re: Running Postgres Daemons with same data files In-reply-to: <1071119035.4503.2.camel@bharat> References: <1071030083.16487.55.camel@bharat> <200312092108.12854.uwe@oss4u.com> <1071049881.2741.12.camel@bharat> <3FD77127.4060401@edgate.com> <1071119035.4503.2.camel@bharat> Comments: In-reply-to Bhartendu Maheshwari message dated "11 Dec 2003 10:33:55 +0530" Date: Thu, 11 Dec 2003 10:01:08 -0500 Message-ID: <13258.1071154868@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/154 X-Sequence-Number: 11662 Bhartendu Maheshwari writes: > I got all your points, thanks for such a great discussion, Now the last > thing I want is how can I close the data files and flush the cache into > the data files. How can I do this in postgresql???? Shut down the postmaster. > I will also try with RAID and other suggested way you all suggested. I don't think what people have been telling you has penetrated at all. You CAN NOT run multiple postmasters concurrently on the same set of database files. It will not work. It will corrupt your data. There is no hack that will make it work. regards, tom lane