pgAdmin III: error while browsing schema of PG database

Поиск
Список
Период
Сортировка
От Nikhil S
Тема pgAdmin III: error while browsing schema of PG database
Дата
Msg-id AANLkTinujF8dz8+nj5rMqP=CzP_8xZFF16q6iJzSty3O@mail.gmail.com
обсуждение исходный текст
Ответы Re: pgAdmin III: error while browsing schema of PG database  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: pgAdmin III: error while browsing schema of PG database  (Dave Page <dpage@pgadmin.org>)
Список 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
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Additional cleanup of the build system as discussed
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: make style