X-Original-To: pgsql-novice-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03AF0528E7 for ; Tue, 14 Jun 2005 16:18:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48039-02 for ; Tue, 14 Jun 2005 19:18:15 +0000 (GMT) Received: from web33303.mail.mud.yahoo.com (web33303.mail.mud.yahoo.com [68.142.206.118]) by svr1.postgresql.org (Postfix) with SMTP id A0FF2528C1 for ; Tue, 14 Jun 2005 16:18:11 -0300 (ADT) Received: (qmail 8967 invoked by uid 60001); 14 Jun 2005 19:18:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XsOY/u7ORpZ/r5+VR7DVPTAUQMHlIkS0M82kCk849kV3d1QuXxRsxR9qLdX4QIFle8AXwlMkTaAT7e46CrRjyzBvk0fzYws78MJzVBF4oQ6puK730YqrhZJPXpF5BBpzwHohAuhCglCjTSTylCs8OyO5DXNKsZAdwhfkm9eOJ1o= ; Message-ID: <20050614191810.8965.qmail@web33303.mail.mud.yahoo.com> Received: from [12.9.179.126] by web33303.mail.mud.yahoo.com via HTTP; Tue, 14 Jun 2005 12:18:10 PDT Date: Tue, 14 Jun 2005 12:18:10 -0700 (PDT) From: Subject: PGDATA To: pgsql-novice@postgresql.org In-Reply-To: <008d01c570fe$7882f6a0$b000a8c0@OTTO> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.38 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, FORGED_YAHOO_RCVD, NO_REAL_NAME X-Spam-Level: ** X-Archive-Number: 200506/82 X-Sequence-Number: 13675 i currently develop on a winxp laptop. i use cygwin and my pgsql version is 7.4.x (x=3, maybe?). i have to manually start up apache and pgsql. i'm spending some time learning linux. i found that i could edit my .bash_profile so i don't have to type the path to cygserver every time i tried to start it. i'd like to do something similar when using pg_ctl to start and stop the postmaster. i read the the help files for pg_ctl and it said PGDATA was the default if there was no -D flag and then a directy path to the data directory. i want to set PGDATA path to my DATA directory, but i can't find PGDATA on my system. can anyone help here? tia... __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail