Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id DD4BC9FB348 for ; Sat, 12 May 2007 14:58:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 36436-07 for ; Sat, 12 May 2007 14:57:51 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by postgresql.org (Postfix) with ESMTP id 6CB8F9FB31E for ; Sat, 12 May 2007 14:57:58 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id s1so1392092nze for ; Sat, 12 May 2007 10:57:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RnSlMe0/1sarBawK0yXfbJGJwInAypqNZBa3G/gAnReHdDeUNsDwPMt2etPlNpIz3/yejXDyLCzX5Z8VNG7QePXDTE7qlnNvKFmfxkfey2vulBi3opDMLCbZsxM71PfI9ByKvHy8AhlmWOKs8c1ymGoQDXQWuQTWluiNaygewKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O1YtC9+/FJB9TqVR5pW4uS8nhHoCBEISYw3QFa4RnlUE0MDyn6fKNRatr1gMAwlNibH4K9jcHHBHPwwcc/h5e+JjIAIykGREBJZv2A2vn1y/6zkPZ8BI+NyiYrERLSCZfH4oQxRE9WnR2iEwygXrvySiLuY6ir7H7bRmg5oaYP8= Received: by 10.114.145.1 with SMTP id s1mr320398wad.1178992677309; Sat, 12 May 2007 10:57:57 -0700 (PDT) Received: by 10.114.178.18 with HTTP; Sat, 12 May 2007 10:57:57 -0700 (PDT) Message-ID: Date: Sun, 13 May 2007 00:57:57 +0700 From: "Linux Geeks" To: ksrinivas@coriendo.com, pgsql-admin@postgresql.org Subject: Re: Moving data directory In-Reply-To: <026d01c794b6$14f29770$800101df@srinilaptop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <026d01c794b6$14f29770$800101df@srinilaptop> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/100 X-Sequence-Number: 25420 Hi Srinivas, Is it permanently change it ? Do I have to change some entry in configuration file ? Regards, Dino On 5/12/07, Srinivas Kotapally wrote: > You can do an initdb -d /var/lib/postgresql to initialize the data directory in > the /var/lib/postgresql directory. If you also have data in the > /usr/lib/postgresql - make sure you back it up and restore it in the new > directory. > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > -- To Analyze Is To Know Batte Field, Differ from Battle Itself