pgAdmin III: system schemas under incorrect hiearchy in EDBAS PostgreSQL mode - Mailing list pgadmin-hackers

From Nikhil S
Subject pgAdmin III: system schemas under incorrect hiearchy in EDBAS PostgreSQL mode
Date
Msg-id AANLkTin+srk60JL1CMiTQfW1eY21GUM0gqVpmj8Ny3w5@mail.gmail.com
Whole thread Raw
Responses Re: pgAdmin III: system schemas under incorrect hiearchy in EDBAS PostgreSQL mode
List pgadmin-hackers
Hi,

If we use pgadmin III to browse a PPAS database that was installed in Postgresql mode, the "sys" and "dbo" system schemas appear incorrectly under the normal user "Schemas" hierarchy. The issue is occurring because the current sql in pgSchemaBaseFactory::CreateObjects() which tries to avoid showing non-system schemas is incorrect.

Since these schemas are added at initdb time, IMO just checking for these schemas by name should be enough. This patch does just the same.

Regards,
Nikhils
Attachment

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pgAdmin and pg_service.conf
Next
From: Peter Geoghegan
Date:
Subject: wxWidgets 2.9 compatibility: Fix for sefault on table editor under GTK