Page 1 of 1

Possible Bug in v2.20.0.6 when ProtocolVersion=pv20

Posted: Tue 17 May 2011 08:06
by syagrius
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 ?

Posted: Tue 17 May 2011 08:49
by AlexP
Hello,

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

Posted: Tue 17 May 2011 11:57
by AlexP
Hello,

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