From: | Andrew Biagioni <andrew(dot)biagioni(at)e-greek(dot)net> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org, "Tamir Halperin" <tamir(at)brobus(dot)net> |
Subject: | Re: Hope it's ok to post a pgAdmin request for help in this list... |
Date: | 2003-03-29 15:08:38 |
Message-ID: | PKPGA64D9PNTNZWMH6384VPEDLJXWRM.3e85b6f6@Laptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
I'm not familiar with FreeBSD, but there is another way: specify a parameter
for pc_ctl, "-D", which sets the PGDATA path overriding the $PGDATA variable:
pg_ctl -D /usr/local/pgctl/data reload
Substitute "/usr/local/pgctl/data" with the path to YOUR data directory, the
one you created at the end of the installation process.
Once you find how to set environment variables in FreeBSD (maybe try "man env"?
Just a guess), you can set $PGDATA to that same path, and you won't need to
specify it again.
Andrew
3/29/03 3:53:28 AM, "Tamir Halperin" <tamir(at)brobus(dot)net> wrote:
>I think I diagnosed the problem to be access restrictions in the pg_hba.conf
file.
>
>I made the changes but I can't run pg_ctl reload without first setting a
$PGDATA environment variable. Can someone please tell me how to do this
properly for PostgreSQL on my FreeBSD 4.6 system?
>
>> -----Original Message-----
>> From: Tamir Halperin
>> Sent: Saturday, March 29, 2003 3:19 AM
>> To: pgsql-admin(at)postgresql(dot)org
>> Subject: [ADMIN] Hope it's ok to post a pgAdmin request for
>> help in this
>> list...
>>
>>
>> Just installed pgAdmin II and received no errors. I can
>> connect to a database that I created from the command prompt
>> on the database server but I cannot create a database
>> properly from the pgadmin II client/workstation.
>>
>> The database is created but it has a red X on the icon. Allow
>> connections is Yes but connection status is inaccessible. I
>> can create users without a problem.
>>
>>
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 6: Have you searched our list archives?
>>
>> http://archives.postgresql.org
>>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tarry Singh | 2003-03-29 17:05:25 | net start postmaster doesn't start....I've checked the archives already.. |
Previous Message | Tamir Halperin | 2003-03-29 08:53:28 | Re: Hope it's ok to post a pgAdmin request for help in this list... |