Re: pg_restore ignore error patch

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_restore ignore error patch
Date: 2004-04-10 12:43:25
Message-ID: 1304.24.211.141.25.1081601005.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Fabien COELHO said:
>
>
> I transfer some data from one server to the other. On such occasion, I
> use my laptop to connect with server X, I download the data, then I
> restore them to server Y. The versions on my laptop and both servers
> are likely to be different. My laptop is likely to have some
> development version, and the servers may be in 7.3 or 7.4.
>

What problems have you encountered other than dollar quoting?

In the most general case, ISTM you would need to teach pg_dump how to
degrade gracefully, and a m:1 sources to targets relationship suddenly
becomes m:m. I'm not convinced it is worth the trouble.

cheers

andrew

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-04-10 15:30:13 Re: stdin/stdout mismatch for COPY and \copy
Previous Message Fabien COELHO 2004-04-10 12:22:05 pg_restore ignore error patch v2