Search Postgresql Archives

Re: Moved database question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 5, 2008 at 12:45 PM, Bayless Kirtley <bkirt@xxxxxxx> wrote:
> I had to move my database to a new disk. I dropped the original after a
> pg_dump and then removed the old directory. I then ran initdb on the new
> location, created the database and restored from the pg_dump.
>
> My problem now is that I have to supply the full pathnames to start or stop
> the server. Otherwise it still wants to access the old location which no
> longer exists. What am I missing to make the new (and only existing)
> location be the Postgres default?

That very much depends on which OS / version you're on and how you
installed postgresql...


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux