I think I have to add an include file but I don't know wich one, I added the Sql and PostgreSQL packages to my program.
I had to put an empty database.sch file because if I didn't, I got an error saying the file does not exist.
I'm also getting this messages when I compile the program