Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Fri 22 Mar 2013 14:50
I am using the Alerter class:
Code: Select all
lPgAlerter := TPgAlerter.Create(nil);
with lPgAlerter do begin
OnEvent := @AlerterEvent;
AutoRegister := False;
Connection := lPgConnection;
Events := lAlerterChannel;
Active := True;
end;
When lPgConnection goes down/crashes, I am using an "OnConnectionLost" handler with:
But this does not recover the Alerter channel/connection. Is there an option that automatically re-establish the Alerter channel/connection?
Thx & cheers,
Peter
-
DemetrionQ
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Post
by DemetrionQ » Tue 26 Mar 2013 13:49
Hello.
For the time being, TPgAlerter has no functionality for automatic restoring. To restore PgAlerter channel, you should directly invoke TPgAlerter.Stop / TPgAlerter.Start .
-
Oleg D.
- Posts: 1
- Joined: Thu 28 Mar 2013 09:01
Post
by Oleg D. » Thu 28 Mar 2013 09:10
Hi.
how to determine which connections of successful recovered after the break. Is there any event, like OnConnectionRestored?
-
DemetrionQ
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Post
by DemetrionQ » Mon 01 Apr 2013 13:52
Hello.
After restoring connection, the TPgConnection.AfterConnect event occurs. You can use a procedure associated with it, in order to perform the required operations when restoring connection.
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Mon 19 Aug 2013 06:33
Hi there
Is this issue resolved in the latest release 4.0.2? If not, when will it be fixed?
Thx & cheers,
P.
-
AlexP
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
Post
by AlexP » Mon 19 Aug 2013 10:39
Hello,
It's not a bug - it's a new functionality, we have added it to our roadmap, however, we cannot say the exact timing of its implementation
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Tue 20 Aug 2013 07:36
Thx Alex for the answer
Hopefully you can push this functionality up in your roadmap. We are using the Alerter component extensively in our software and the connection recovery feature would really help us a lot.
Thx & cheers,
P.
-
AlexP
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
Post
by AlexP » Wed 21 Aug 2013 12:36
Hello,
The main feature of the next version will be the support for RAD Studio XE5, therefore this feature will hardly be implemented in the next version, it will probably be implemented in a version following the next version
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Mon 30 Dec 2013 08:52
Alex
Is this feature now finally implemented, as promised?
Thanks & cheers,
P.
-
AlexP
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
Post
by AlexP » Mon 30 Dec 2013 12:03
Hello,
No, this feature is not yet implemented
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Mon 30 Dec 2013 12:09
Hi there
Ok, I see...
Any deadline for this? This is a request from march!!
Thx & cheers,
P.
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Wed 29 Jan 2014 07:03
Hi there
What do I have to do to at least get a reliable deadline for my request?
Thanks,
Peter
-
AlexP
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
Post
by AlexP » Wed 29 Jan 2014 08:20
These features are included to our PgDAC development roadmap, however, their implementation is not planned for the nearest future.
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Wed 29 Jan 2014 08:24
Unbelievable, you guys should really convert to become bloody politicians!
-
binfch
- Posts: 33
- Joined: Sat 22 Jan 2011 09:26
Post
by binfch » Fri 02 May 2014 06:07
Hi there
Is this feature now finally implemented in 4.3.7?
Thanks & cheers,
P.