If one clicks on Postgres (non EDB) database and tries to expand the schema tab, then the current git head spits out an error. The offending query contains the following comparison
protype = 1;
protype is of type char, so it expects the RHS to be a char. However this works ok against an EDB database. Anyways, the fix is to compare protype with '1'. This sql works fine on both flavours of databases. Fixing this at all relevant locations.