Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 0960A9FB73E for ; Sat, 12 May 2007 13:47:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 46789-10 for ; Sat, 12 May 2007 13:47:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by postgresql.org (Postfix) with ESMTP id 527889FB708 for ; Sat, 12 May 2007 13:47:47 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id s1so1378437nze for ; Sat, 12 May 2007 09:47:46 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=SLEOoJCwZUZPvihglG8+hCZI9NDjivdmKzon/YB/AnFTl4ymUk2/kXFhx9ItId0bLxq8bhgt8bhlbB0DLyXdXm9M1CI7O0dMkO2/iXqJxYOMj9mzvNQuCjaODW7Z4D3pyQ+iAVQca3sVLYpnQUxRqUcy4cnBHJ+NlRoy9GDSkPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cYKRaPNzyPYHpfriQZsbXky/TPJue24NCD7J1IpPv45b1lpvu980qjRoK76PH15Jo11rKn4emox3gRTi/2E6Gt2mh2FyklHSNgcZpNmoZ2mYZhjf+Ya8RyqqtwRJKn+9hUM016NweQmVTXJ/Wf4jZO/3mmViirMu6vStip5pZk0= Received: by 10.115.17.1 with SMTP id u1mr294147wai.1178988466312; Sat, 12 May 2007 09:47:46 -0700 (PDT) Received: by 10.114.178.18 with HTTP; Sat, 12 May 2007 09:47:46 -0700 (PDT) Message-ID: Date: Sat, 12 May 2007 23:47:46 +0700 From: "Linux Geeks" To: pgsql-admin@postgresql.org Subject: Moving data directory MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/98 X-Sequence-Number: 25418 Hi All, 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. Regards, Dino -- To Analyze Is To Know Batte Field, Differ from Battle Itself