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

Re: exec_execute_message crash

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: andrew(at)dunslane(dot)net
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: exec_execute_message crash
Date: 2009-12-30 14:26:00
Message-ID: 20091230.232600.89610118.t-ishii@sraoss.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> Tatsuo Ishii wrote:
> > ! 	if (!PortalIsValid(portal) || (PortalIsValid(portal) && portal->cleanup == NULL))
> >  
> >   
> 
> 
> Surely the second call to PortalIsValid() is redundant.
>       
>     if (( !PortalIsValid(portal)) || portal->cleanup == NULL)
> 
> should do it, no?

Oops. You are right.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

In response to

pgsql-hackers by date

Next:From: Teodor SigaevDate: 2009-12-30 14:51:09
Subject: Re: point_ops for GiST
Previous:From: Oleg BartunovDate: 2009-12-30 14:20:32
Subject: Re: KNNGiST for knn-search (WIP)

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