Before anything, I wanna say I'm really impressed with this project. You made a really nice tool for developers! congratulations!!.
I tested this project with a MySQL database and everything worked like a charm, but when I tested a PostgresSQL database... the ReadAll() method did not work and it returns this error:
column "tablename" does not exist
I think the problem is happening because PostgreSQL by default folds all unquoted named to lowercase. So, when you execute something like:
select TableName from TableInformation (Just as example... )
Postgres translates it to:
select tablename from tableinformation
I would appreciate any help, because maybe I'm doing something wrong...
This is my code:
I tested this project with a MySQL database and everything worked like a charm, but when I tested a PostgresSQL database... the ReadAll() method did not work and it returns this error:
column "tablename" does not exist
I think the problem is happening because PostgreSQL by default folds all unquoted named to lowercase. So, when you execute something like:
select TableName from TableInformation (Just as example... )
Postgres translates it to:
select tablename from tableinformation
I would appreciate any help, because maybe I'm doing something wrong...
This is my code:
string providername = "Devart.Data.PostgreSql";
string postgreConnection = @"Server=localhost;Userid=postgres;password=****;database=test;";
var dbReader = new DatabaseReader(postgreConnection, providername);
dbReader.Owner = "public";
var schema = dbReader.ReadAll();
Thanks for your help.