Re: Yosemite (OSX 10.0) problems with Postgresql

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Yosemite (OSX 10.0) problems with Postgresql
Date: 2014-10-22 00:54:32
Message-ID: 54470048.9080508@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ilya Ashchepkov 2014-10-22 02:43:00 Re: Function runtime increases after 5 calls in the same session.
Previous Message Craig Ringer 2014-10-22 00:14:00 Re: Yosemite (OSX 10.0) problems with Postgresql