You are not logged in.
mormot.db.sql.postgres, TSqlDBPostgresStatement.Execute
line 624
fTotalRowsRetrieved := PQ.ntuples(fRes);
Would throw Exception ESqlDBPostgres, with message
"TSqlDBPostgresStatement.ExecutePrepared: result expected but statement did not return tuples'.
The statement being executed is
fSql 'CREATE SCHEMA IF NOT EXISTS test'
Offline
You should rather try ExecuteNoResult() I guess for such statements with no result.
Thank you. Yes - that works.
Offline