Dear Matsumura-san,
> I think that the 2nd argument of following ecpg_init() must be real_connection_name.
> Is it right?
Yes, I think it should be real_connection_name for raising correct error message.
This is also an leak of my code and I attached a patch.
Best Regards,
Hayato Kuroda
Fujitsu LIMITED