pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedsame postmaster, different directory? V7.0.2
3+ messages / 3 participants
[nested] [flat]
* same postmaster, different directory? V7.0.2
@ 2000-09-11 17:42 Brian Horan <bhoran@herald.com>
0 siblings, 1 reply; 3+ messages in thread
From: Brian Horan @ 2000-09-11 17:42 UTC (permalink / raw)
To: pgsql-admin
Howdy, I was wondering if anyone can help me, I'm running Postgres
version 7.0.2,
and I have several existing databases in /var and wanted to put one in
/home, because of disk space.
my only problem is that It will not let me do so, no matter what.
Postgres was installed via rpm on RatHead 6.2
and if there is something I can edit in a source file, that is not a
problem.
Any thoughts? coments?
yes, I have RTFM'd
--
,~,
v Brian Horan
/(|)\ Systems Analyst/Programmer
/( | )\ Miami Herald Publishing Company
//( | )\\ bhoran@herald.com cell: (954) 296-7807
-----"-"-----------------------------------------
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: same postmaster, different directory? V7.0.2
@ 2000-09-11 21:38 John McKown <joarmc@swbell.net>
parent: Brian Horan <bhoran@herald.com>
0 siblings, 0 replies; 3+ messages in thread
From: John McKown @ 2000-09-11 21:38 UTC (permalink / raw)
To: Brian Horan <bhoran@herald.com>; +Cc: pgsql-admin
On Mon, 11 Sep 2000, Brian Horan wrote:
> Howdy, I was wondering if anyone can help me, I'm running Postgres
> version 7.0.2,
> and I have several existing databases in /var and wanted to put one in
> /home, because of disk space.
>
> my only problem is that It will not let me do so, no matter what.
> Postgres was installed via rpm on RatHead 6.2
> and if there is something I can edit in a source file, that is not a
> problem.
>
> Any thoughts? coments?
>
I haven't tried this, myself. But the User's Guide has a section on
"Alternate Database Locations" and using the $PGDATA2 environment
variable. Have you tried this? I think, in this case, you will need to
change the PostgreSQL startup script to initialize the $PGDATA2
variable. On my RedHat system, this is, /etc/rc.d/init.d/postgresql
The directory specified must be owned (or at least rwx access) by the
PostgreSQL backend's userid.
John
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: same postmaster, different directory? V7.0.2
@ 2000-09-12 19:28 Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Buchmann @ 2000-09-12 19:28 UTC (permalink / raw)
To: Brian Horan <bhoran@herald.com>; pgsql-admin
Which FM did you read? There are several, but the Admin Guide talks about
disk management in chapter 10.
I put my databases in /home with postmaster running like this:
/usr/local/pgsql/bin/postmaster -D /home/post/data -i
--
Jeremy Buchmann
System Admin/Database Programmer
Wells Gaming Research
----------
>From: Brian Horan <bhoran@herald.com>
>To: pgsql-admin@postgresql.org
>Subject: [ADMIN] same postmaster, different directory? V7.0.2
>Date: Mon, Sep 11, 2000, 10:42 AM
>
> Howdy, I was wondering if anyone can help me, I'm running Postgres
> version 7.0.2,
> and I have several existing databases in /var and wanted to put one in
> /home, because of disk space.
>
> my only problem is that It will not let me do so, no matter what.
> Postgres was installed via rpm on RatHead 6.2
> and if there is something I can edit in a source file, that is not a
> problem.
>
> Any thoughts? coments?
>
> yes, I have RTFM'd
>
>
> --
> ,~,
> v Brian Horan
> /(|)\ Systems Analyst/Programmer
> /( | )\ Miami Herald Publishing Company
> //( | )\\ bhoran@herald.com cell: (954) 296-7807
> -----"-"-----------------------------------------
>
>
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-09-12 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 17:42 same postmaster, different directory? V7.0.2 Brian Horan <bhoran@herald.com>
2000-09-11 21:38 ` John McKown <joarmc@swbell.net>
2000-09-12 19:28 Re: same postmaster, different directory? V7.0.2 Jeremy Buchmann <jeremy@wellsgaming.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox