Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Goetze <cg(at)sensage(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs
Date: 2005-08-12 14:50:37
Message-ID: 7790.1123858237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Goetze <cg(at)sensage(dot)com> writes:
> pg_restore\
> --host=$SENSAGE_DB_HOST\
> --port=$SENSAGE_DB_PORT\
> -U $SENSAGE_DB_ROOT_USER\
> --create\
> --format=t\
> "$upgrade_dump"

You need "-d template1" in there as well. Without a -d, --host and
--port don't actually do anything, I believe; you just get a text SQL
dump on stdout.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ulrich Wisser 2005-08-12 14:56:21 Re: vacuum error "left link changed unexpectedly"
Previous Message Bill Moseley 2005-08-12 14:46:49 Sorting by related tables