RE: ECPG regression with DECLARE STATEMENT support - Mailing list pgsql-hackers

From Kuroda, Hayato
Subject RE: ECPG regression with DECLARE STATEMENT support
Date
Msg-id 1F66B161998C704BABF8989B8A2AC0A31ADE84@G01JPEXMBYT05
Whole thread Raw
In response to RE: ECPG regression with DECLARE STATEMENT support  ("Kuroda, Hayato" <kuroda.hayato@jp.fujitsu.com>)
Responses Re: ECPG regression with DECLARE STATEMENT support
RE: ECPG regression with DECLARE STATEMENT support
List pgsql-hackers

Dear Rushabh, Michael,

 

I attached a simple bug-fixing patch.

Could you review it?

 

An added logic is:

1.     Send a close statement to a backend process regardless of the existence of a cursor.

2.     If ecpg_do function returns false, raise “cursor is invalid” error.

3.     Remove cursor from application.

 

I already checked this patch passes regression tests and Rushabh’s test code.

 

Best Regards,

Hayato Kuroda

Fujitsu LIMITED

 

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Should we add GUCs to allow partition pruning to be disabled?
Next
From: Amit Langote
Date:
Subject: Re: Should we add GUCs to allow partition pruning to be disabled?