Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-09-01 Thread Bruce Momjian
Greg Sabino Mullane wrote: [ There is text before PGP section. ] > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Four years later, people were saying: > > >> OK, this new patch prints a warning on any major version > >> mismatch, newer or older. > > > > I would suggest showing both th

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-31 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Four years later, people were saying: >> OK, this new patch prints a warning on any major version >> mismatch, newer or older. > > I would suggest showing both the client and server versions that > mismatched. If you're in a scenario with several ve

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-31 Thread Bruce Momjian
Bruce Momjian wrote: > Tom Lane wrote: > > Bruce Momjian writes: > > > Here is a patch that will print out (in interactive mode only) a warning > > > message if a newer client connects to an older major numbered server. > > > > Why only older? It's even less likely to work if the server is newer

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-31 Thread Magnus Hagander
> > > Here is a patch that will print out (in interactive mode only) a > > > warning message if a newer client connects to an older > major numbered server. > > > > Why only older? It's even less likely to work if the > server is newer. > > > > (I don't agree with the premise to begin with...

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > Here is a patch that will print out (in interactive mode only) a warning > > message if a newer client connects to an older major numbered server. > > Why only older? It's even less likely to work if the server is newer. > > (I don't agree with the pr

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Marc G. Fournier
On Tue, 30 Aug 2005, Tom Lane wrote: Bruce Momjian writes: Here is a patch that will print out (in interactive mode only) a warning message if a newer client connects to an older major numbered server. Why only older? It's even less likely to work if the server is newer. (I don't agree wit

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Tom Lane
Bruce Momjian writes: > Here is a patch that will print out (in interactive mode only) a warning > message if a newer client connects to an older major numbered server. Why only older? It's even less likely to work if the server is newer. (I don't agree with the premise to begin with...)

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Bruce Momjian
Marc G. Fournier wrote: > > Could this be back patched to the older versions as well? Sure. --- > > On Tue, 30 Aug 2005, Bruce Momjian wrote: > > > Josh Berkus wrote: > >> Tom, > >> > >>> They've been broken on a fairly

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Marc G. Fournier
Could this be back patched to the older versions as well? On Tue, 30 Aug 2005, Bruce Momjian wrote: Josh Berkus wrote: Tom, They've been broken on a fairly regular basis in past releases. Certainly 7.3 broke every single one because of the addition of schema syntax ... Yeah, and we warned

Re: [PATCHES] [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Bruce Momjian
Josh Berkus wrote: > Tom, > > > They've been broken on a fairly regular basis in past releases. > > Certainly 7.3 broke every single one because of the addition of > > schema syntax ... > > Yeah, and we warned people about it, as I recall. Also, we had about 25x > less users then. I think we