Re: exec_execute_message crash - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: exec_execute_message crash
Date
Msg-id 20091230.232600.89610118.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: exec_execute_message crash  (Andrew Dunstan <andrew@dunslane.net>)
List 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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Backup history file should be replicated in Streaming Replication?
Next
From: Oleg Bartunov
Date:
Subject: Re: KNNGiST for knn-search (WIP)