Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pdadmin3_error_pgmode.patch
Description: text/x-diff (1.1 KB)

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2011-02-07 12:11:19
Subject: pgAdmin III commit: make style
Previous:From: Dave PageDate: 2011-02-07 11:14:37
Subject: pgAdmin III commit: Additional cleanup of the build system asdiscussed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group