Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 080A5634445 for ; Thu, 3 Jun 2010 05:01:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 71604-06-2 for ; Thu, 3 Jun 2010 08:01:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mxs.selfmail.ru (unknown [77.221.143.26]) by mail.postgresql.org (Postfix) with ESMTP id BACC2633CB5 for ; Thu, 3 Jun 2010 05:01:17 -0300 (ADT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selfip.ru; s=dk; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:References:In-Reply-To:Cc:To:Reply-To:From:Subject; bh=ZtkuXmfBy6VoVGcwfpQowM0l6aru7tSLp6xja587n/g=; b=OZe4voVS3cp+4sVt2I2cMn0I+AzdgQ//eHWjyo18FUCJAzadr3Ke3dgp8AmF1zxY1m3z452EeMktjwvoDoK0T2Wl7O8it+63qeDOOW9uDIdeIhLrqDW7MaS55DGljBNS; X-ACL-SPF: Received: from [UNAVAILABLE] ([217.170.84.182]:46783 helo=[192.168.1.101]) by mxs.selfmail.ru with esmtpa (Exim 4.72) (envelope-from ) id 1OK5MY-0006kA-Vz; Thu, 03 Jun 2010 12:01:15 +0400 Subject: Re: graceful reload From: Vasiliy G Tolstov Reply-To: v.tolstov@selfip.ru To: Shoaib Mir Cc: Anh Ky Huynh , PostgreSQL Admin In-Reply-To: References: <1275546216.6693.2.camel@work.selfip.ru> <20100603144528.2234301e@icy.localdomain> <1275551303.23110.1.camel@work.selfip.ru> Content-Type: text/plain; charset="UTF-8" Organization: Selfip.Ru Date: Thu, 03 Jun 2010 12:01:14 +0400 Message-ID: <1275552074.23110.7.camel@work.selfip.ru> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.792 tagged_above=-10 required=5 tests=BAYES_40=-0.001, RDNS_NONE=0.793 X-Spam-Level: X-Archive-Number: 201006/28 X-Sequence-Number: 34806 В Чтв, 03/06/2010 в 17:54 +1000, Shoaib Mir пишет: > On Thu, Jun 3, 2010 at 5:48 PM, Vasiliy G Tolstov > wrote: > Sorry for incorrect question. I mean: does postgresql can be > reloaded > without breaking current connections? > For example: > I need to increate some values in postgresql conf file and > want to this > valies applied on running server, can i do this without full > restart? > > > > Which settings you want to change? as there are some which can be done > with just a database reload but some of them cant be done without > doing a database restart (like some memory related settings) > Memory related: max_connections shared_buffers temp_buffers max_prepared_transactions work_mem maintenance_work_mem max_stack_depth max_files_per_process wal_buffers In config file some in of this settings exists comment line like "changes require restart". This is mean exactly restart or reload can do this? -- Vasiliy G Tolstov Selfip.Ru