Re: Yosemite (OSX 10.0) problems with Postgresql - Mailing list pgsql-general

From John R Pierce
Subject Re: Yosemite (OSX 10.0) problems with Postgresql
Date
Msg-id 54470048.9080508@hogranch.com
Whole thread Raw
In response to Re: Yosemite (OSX 10.0) problems with Postgresql  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-general
On 10/21/2014 5:14 PM, Craig Ringer wrote:
> If you're using the Apple-bundled one, make VERY sure to back everything
> up carefully with pg_dump before upgrading. Then tell me how it goes.

I'd recommend doing..

     $ pg_dumpall --globals-only -f 20141021_globals.sql
     $ for db in mydb1 mydb2 ... ; do pg_dump -Fc -d $db -f
20141012_dump.$db.pgdump ; done

this will give you the maximum flexibility when you restore.

--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Yosemite (OSX 10.0) problems with Postgresql
Next
From: Ilya Ashchepkov
Date:
Subject: Re: Function runtime increases after 5 calls in the same session.