Problem partly solved: there was a mistake in my database connection: It was configured wrongly using sqlite in stead of postgresql.
Now I can do db.executesql('show search_path') and set the search path but I still cannot do: db.executesql('show schema') Regards Johann