Possible Bug in v2.20.0.6 when ProtocolVersion=pv20

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
syagrius
Posts: 10
Joined: Sat 28 Feb 2009 13:45

Possible Bug in v2.20.0.6 when ProtocolVersion=pv20

Post by syagrius » Tue 17 May 2011 08:06

Hello

Sometimes I use a TpgConnection with ProtocolVersion=pv20.

But I think there is a bug since release v2.20.0.6.

TPgSQLProtocol.UnPrepareStmt() is called when you try to connect to the server. So Delphi raises an exception because of the assertion:
Assert(False, 'Supported in 3.0 protocol only')

You can reproduce at design-time:
- drop a TpgConnection a on Form
- put server informations in port/server/user/password
- change ProtocolVersion to pv20
- try to change Connected to True

Any suggestions ?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 17 May 2011 08:49

Hello,

Thank you for the information.
We have reproduced the problem.
We will notify you as soon as we have any results.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 17 May 2011 11:57

Hello,

We have fixed the problem.
This fix will be included in the next build.

Post Reply