Re: Remove pg_dump -i option (was Re: Proposed patch: synchronized_scanning GUC variable)

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org, Alvaro Herrera <alvherre@commandprompt.com>, Simon Riggs <simon@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Neil Conway <neilc@samurai.com>, Gregory Stark <stark@enterprisedb.com>, "Jonah H. Harris" <jonah.harris@gmail.com>
Date: 2008-01-31T15:14:58Z
Lists: pgsql-hackers
Peter Eisentraut wrote:
> Am Donnerstag, 31. Januar 2008 schrieb Alvaro Herrera:
> > Effect: we would stop receiving complaints that an old pg_dump can talk
> > to a server that most likely is incompatible with it.  People would
> > learn on the spot that they must install the newer pg_dump.
> 
> I think a more moderate measure might be to clarify the error message
> 
> "aborting because of version mismatch  (Use the -i option to proceed 
> anyway.)\n"
> 
> I'm not sure how many of the mentioned complaints we are getting, but the 
> error message might make people think that it's complaining because the 
> versions are not equal rather than that the versions are known not 
> compatible.

Agreed --- that error message is just prompting people to try something
they shouldn't and not explaining why.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +