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 ?