pgAdmin III: error while browsing schema of PG database - Mailing list pgadmin-hackers

From Nikhil S
Subject pgAdmin III: error while browsing schema of PG database
Date
Msg-id AANLkTinujF8dz8+nj5rMqP=CzP_8xZFF16q6iJzSty3O@mail.gmail.com
Whole thread Raw
Responses Re: pgAdmin III: error while browsing schema of PG database
Re: pgAdmin III: error while browsing schema of PG database
List pgadmin-hackers
Hi,

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.

Regards,
Nikhils
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Additional cleanup of the build system as discussed
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: make style