Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3FD65475EC1 for ; Fri, 28 Jun 2002 13:11:08 -0400 (EDT) Mailbox-Line: From bjorn.lundin@swipnet.se Fri Jun 28 13:11:08 2002 Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 6CF6E4774FD for ; Fri, 28 Jun 2002 12:57:35 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 00954381960; Fri, 28 Jun 2002 12:57:29 -0400 (EDT) From: =?ISO-8859-1?Q?Bj=F6rn?= Lundin X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Postmaster environment variables Date: Fri, 28 Jun 2002 18:58:14 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 17 Message-ID: References: <3D1BC886.2A908335@acer-access.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: news@hub.org User-Agent: KNode/0.7.1 To: pgsql-admin@postgresql.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.30 X-Spam-Level: X-Archive-Number: 200206/237 X-Sequence-Number: 4670 daniel m wrote: > sh-2.04$ createdb planifgr -D 'PGDATA2' > ERROR: Postmaster environment variable 'PGDATA2' not set > createdb: database creation failed > > although : > > sh-2.04$ echo $PGDATA2 > /home/postgres/data sholdn't it be sh-2.04$ createdb planifgr -D $PGDATA2 ? /Björn