Search Postgresql Archives

Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs

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

 



Christian Goetze <cg@xxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[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