[Lazarus] Is there a way to reconnect to postgresql if the connection fails?
Luca Olivetti
luca at wetron.es
Tue May 15 21:43:49 CEST 2018
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 a reconnect. It was introduced and
> tested in the case of MySQL, but
> normally should work on any database.
>
> Can you please post a small sample program in the bugtracker ?
Done
https://bugs.freepascal.org/view.php?id=33737
Thank you
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the Lazarus
mailing list