Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8B23B9FB2A4 for ; Sun, 13 May 2007 14:18:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 91773-02 for ; Sun, 13 May 2007 14:18:01 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 9C4859FB28E for ; Sun, 13 May 2007 14:18:00 -0300 (ADT) Received: (qmail invoked by alias); 13 May 2007 17:17:59 -0000 Received: from xdsl-87-78-219-109.netcologne.de (EHLO colt.pezone.net) [87.78.219.109] by mail.gmx.net (mp039) with SMTP; 13 May 2007 19:17:59 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX18pB54kEmYpe7qoEonFSINbVGlkdKYyQEKkaN5xIu wRB3Ok6zPSf4LC From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: Moving data directory Date: Sun, 13 May 2007 19:17:55 +0200 User-Agent: KMail/1.9.5 Cc: "Linux Geeks" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705131917.56134.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/104 X-Sequence-Number: 25424 Linux Geeks wrote: > I'm very new to postgresql and would like to move my data directory > to another partition in Ubuntu. The standard installation is in > /usr/lib/postgresql. How do I move it into /var/lib/postgresql. The standard data directory on Ubuntu *is* /var/lib/postgresql. You must be confusing something. -- Peter Eisentraut http://developer.postgresql.org/~petere/