pgAdmin4: Cleanup in role dependency test cases

Поиск
Список
Период
Сортировка
От Navnath Gadakh
Тема pgAdmin4: Cleanup in role dependency test cases
Дата
Msg-id CAOAJCYpAQez=7SUOGSmhbX6kGux5g-7S0p4YiMZq6ym9L37Nnw@mail.gmail.com
обсуждение исходный текст
Ответы Re: pgAdmin4: Cleanup in role dependency test cases  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Dave,

Role dependency test cases are failing due to database error 'ERROR: cache lookup failed for database XXXXXX'. Test-suite throwing error on "DROP ROLE <role_name>".
This is intermittent issue I was executing test cases on all servers (pg9.2-10 and ppas9.2-10)

Somehow the 'DROP database' didn't drop the shared dependencies correctly in role dependency test cases. 
PostgreSQL still thinks that Role owns 1 table in the database which is dropped now .Due to that role was not able to drop. 
This could be a bug in PG. Anyway, since the database is dropped, it is safe to manually remove the user as it is not of any use more.


Please find the patch.

Thanks.

--
Regards,
Navnath Gadakh

EnterpriseDB Corporation
The Enterprise PostgreSQL Company


Вложения

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgaweb][patch] Use https link for git repo
Следующее
От: Murtuza Zabuawala
Дата:
Сообщение: Re: [pgAdmin4][Patch]: Allow user to provide custom SSL certificatesand provide .pgpass file