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

From Matsumura, Ryo
Subject RE: ECPG regression with DECLARE STATEMENT support
Date
Msg-id 03040DFF97E6E54E88D3BFEE5F5480F737AC303B@G01JPEXMBYT04
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
List pgsql-hackers
Hi Kuroda-san

I think that the 2nd argument of following ecpg_init() must be real_connection_name.
Is it right?

ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name)
:
    con = ecpg_get_connection(real_connection_name);
    if (!ecpg_init(con, connection_name, lineno))
                        ^^^^^^^^^^^^^^^

Regards
Ryo Matsumura

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Inadequate executor locking of indexes
Next
From: Michael Paquier
Date:
Subject: Re: Compressed TOAST Slicing