Re: [HACKERS] Strange behaviour with incompatible psql/server

2012-11-28 Thread Pavan Deolasee
On Wed, Nov 28, 2012 at 2:52 PM, Pavan Deolasee wrote: > > > Should this not be back patched ? The error that's coming because not > having this fix is rather very strange and hard to debug for any average > individual. I'd almost concluded that one should NEVER use an old psql with > a new server

Re: [HACKERS] Strange behaviour with incompatible psql/server

2012-11-28 Thread Pavan Deolasee
On Wed, Nov 28, 2012 at 2:28 PM, Heikki Linnakangas wrote: > On 28.11.2012 10:46, Pavan Deolasee wrote: > >> While I'm almost certain that this has something to do with special >> characters that my naked eyes can not see, all my attempts to spot the >> difference has failed. So I really have two

Re: [HACKERS] Strange behaviour with incompatible psql/server

2012-11-28 Thread Heikki Linnakangas
On 28.11.2012 10:46, Pavan Deolasee wrote: While I'm almost certain that this has something to do with special characters that my naked eyes can not see, all my attempts to spot the difference has failed. So I really have two questions: 1. What's the difference between these files ? Compare "h

[HACKERS] Strange behaviour with incompatible psql/server

2012-11-28 Thread Pavan Deolasee
A friend reported this issue to me and I find it a bit strange and even after spending some time on this, I couldn't really figure out what's going wrong. See attached two SQL files, bad.sql and good.sql. They look the exact same in the editor. In fact, the good.sql is created by copying lines from