pgAdmin III: error while browsing schema of PG database

From: Nikhil S <nixmisc(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III: error while browsing schema of PG database
Date: 2011-02-07 12:01:19
Message-ID: AANLkTinujF8dz8+nj5rMqP=CzP_8xZFF16q6iJzSty3O@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pdadmin3_error_pgmode.patch text/x-diff 1.1 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-02-07 12:11:19 pgAdmin III commit: make style
Previous Message Dave Page 2011-02-07 11:14:37 pgAdmin III commit: Additional cleanup of the build system as discussed