Dear Wang, Good reporting!
> I'm not sure, but how about modify the ecpg.trailer: > > statement: ecpgstart at toplevel_stmt ';' { connection = NULL; } > > | ecpgstart toplevel_stmt ';' > I think there are lots of 'connection = NULL;' in source, and we should find a good location to reset the connection. Thank you for giving a solution! I will consider the idea and integrate it if it's OK. Best Regards, Hayato Kuroda FUJITSU LIMITED