RE: ECPG regression with DECLARE STATEMENT support

From: "Matsumura, Ryo" <matsumura(dot)ryo(at)jp(dot)fujitsu(dot)com>
To: "Kuroda, Hayato" <kuroda(dot)hayato(at)jp(dot)fujitsu(dot)com>, 'Rushabh Lathia' <rushabh(dot)lathia(at)gmail(dot)com>, Michael Meskes <meskes(at)postgresql(dot)org>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: "Ideriha, Takeshi" <ideriha(dot)takeshi(at)jp(dot)fujitsu(dot)com>
Subject: RE: ECPG regression with DECLARE STATEMENT support
Date: 2019-03-13 01:56:04
Message-ID: 03040DFF97E6E54E88D3BFEE5F5480F737AC303B@G01JPEXMBYT04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-03-13 01:58:12 Re: Compressed TOAST Slicing
Previous Message Amit Langote 2019-03-13 01:55:22 Re: Inadequate executor locking of indexes