Skip site navigation (1) Skip section navigation (2)

Re:

From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: pgsql-performance(at)postgresql(dot)org,pgsql-performance-owner(at)postgresql(dot)org
Subject: Re:
Date: 2010-11-16 07:00:54
Message-ID: OFA05BEFAA.A7DB29E0-ON652577DD.00266995-652577DD.002688D6@ibsplc.com (view raw or flat)
Thread:
Lists: pgsql-performance
Hi
> SQL Server 2008 R2 Query
> select t1.id from table1 t1 inner join table2 t2 on t1.id = t2.id 
> and t1.question = t2.question and isnull(t1.response,'ISNULL') <> 
> isnull(t2.response,'ISNULL')
> 
> Postgres 9.1 Query
> select t1.id from table1 t1 inner join table2 t2 on t1.id = t2.id 
> and t1.question = t2.question and coalesce(t1.response,'ISNULL') <> 
> coalesce(t2.response,'ISNULL')
> 
> What gives?
They have same indexes/PK etc?
Regards,
Jayadevan





DISCLAIMER: 

"The information in this e-mail and any attachment is intended only for 
the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly 
contact the sender and destroy all copies of the original communication. 
IBS makes no warranty, express or implied, nor guarantees the accuracy, 
adequacy or completeness of the information contained in this email or any 
attachment and is not liable for any errors, defects, omissions, viruses 
or for resultant loss or damage, if any, direct or indirect."






In response to

  • at 2010-11-15 20:14:26 from Humair Mohammed

pgsql-performance by date

Next:From: Mark KirkwoodDate: 2010-11-16 07:08:30
Subject: Re:
Previous:From: Artur ZajÄ…cDate: 2010-11-15 21:30:32
Subject: Re: Difference between explain analyze and real execution time

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group