Re: [ADMIN] JDBC keep alive issue

2012-08-11 Thread Craig James
On Fri, Aug 10, 2012 at 7:19 AM, Tom Lane wrote: > Haifeng Liu writes: > > I have a program running like a daemon, which analyze data and write to > postgresql 9.1 on centos 5.8. There is only one connection between my > program and the postgresql database, and I hope the connection may keep > a

Re: [ADMIN] JDBC keep alive issue

2012-08-10 Thread Tom Lane
Haifeng Liu writes: > I have a program running like a daemon, which analyze data and write to > postgresql 9.1 on centos 5.8. There is only one connection between my program > and the postgresql database, and I hope the connection may keep alive all the > time. But I failed, the connection will

[ADMIN] JDBC keep alive issue

2012-08-09 Thread Haifeng Liu
Hi experts, I have a program running like a daemon, which analyze data and write to postgresql 9.1 on centos 5.8. There is only one connection between my program and the postgresql database, and I hope the connection may keep alive all the time. But I failed, the connection will be reset after