- PgQuery.SQL.Text := 'SELECT 0::real';
- PgQuery.Options.UnpreparedExecute := true;
- if not(PgConnection.Connected) then
- PgConnection.Connect;
- PgQuery.Open;
It will crash at opening with an exception!
and sometimes (in some queries using real data type) causes even Access Violation in Open methode!
But if UnpreparedExecute is disabled