Re: [fpc-pascal] Lifetime of a database (PostgreSQL) connection

2011-01-01 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: The program is not creating explicit transactions and only has read access to the table. I'm establishing a connection during program initialisation and then alternating between two query objects, it's the activation of the query object which is causing a short-term

Re: [fpc-pascal] Lifetime of a database (PostgreSQL) connection

2011-01-01 Thread Michael Van Canneyt
On Sat, 1 Jan 2011, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Fri, 31 Dec 2010, Mark Morgan Lloyd wrote: I've just taken our name server down for maintenance, and noted that a db-aware app I'd left running ground to a halt despite the fact that it was only activating queries,

Re: [fpc-pascal] Lifetime of a database (PostgreSQL) connection

2011-01-01 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 31 Dec 2010, Mark Morgan Lloyd wrote: I've just taken our name server down for maintenance, and noted that a db-aware app I'd left running ground to a halt despite the fact that it was only activating queries, not establishing new (named) connections. The c

Re: [fpc-pascal] Lifetime of a database (PostgreSQL) connection

2011-01-01 Thread Michael Van Canneyt
On Fri, 31 Dec 2010, Mark Morgan Lloyd wrote: I've just taken our name server down for maintenance, and noted that a db-aware app I'd left running ground to a halt despite the fact that it was only activating queries, not establishing new (named) connections. The connection was being made b

Re: [fpc-pascal] Moving callbackfunctions to class

2011-01-01 Thread Paul Ishenin
31.12.2010 20:01, Darius Blaszyk wrote: On Dec 31, 2010, at 10:43 AM, Paul Ishenin wrote: 31.12.2010 7:53, Darius Blaszyk wrote: I installed 2.5.1 just to test if it was possible to use static class methods or not. Apparently not so it seems. It was a good try, but it failed. Thanks anyway f

Re: [fpc-pascal] TEventLog rewrite the log file

2011-01-01 Thread ik
Hi, I have patched the issue and placed it here ( http://bugs.freepascal.org/view.php?id=18355). Now I need time to think how to make the ability to add a feature for "log rotate" like with the Log4r, and how we can choose to make all of our output to go to the log if we choose it (I mean the des