Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2022-08-24 Thread Luca Olivetti via lazarus
El 17/5/18 a les 9:50, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:43, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:11, Michael Van Canneyt via Lazarus ha escrit: I will need to check this, but the purpose of Close(True) is exactly to ignore errors while closing for

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2022-08-24 Thread Michael Van Canneyt via lazarus
On Wed, 24 Aug 2022, Luca Olivetti via lazarus wrote: El 17/5/18 a les 9:50, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:43, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:11, Michael Van Canneyt via Lazarus ha escrit: I will need to check this, but the purpose of

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2022-08-24 Thread Luca Olivetti via lazarus
El 24/8/22 a les 12:50, Michael Van Canneyt ha escrit: https://bugs.freepascal.org/view.php?id=33737 I added a couple of comments to that bug (that I cannot reopen). I reopened it. If you can implement a patch that checks forcedClosed for postgres, I will be glad to check & apply it... A

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2022-08-24 Thread Luca Olivetti via lazarus
El 24/8/22 a les 13:15, Luca Olivetti via lazarus ha escrit: El 24/8/22 a les 12:50, Michael Van Canneyt ha escrit: https://bugs.freepascal.org/view.php?id=33737 I added a couple of comments to that bug (that I cannot reopen). I reopened it. If you can implement a patch that checks forcedC