Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs
От
Stephen Frost
Тема
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs
Дата
Msg-id
20160415192057.GE10850@tamriel.snowman.net
Ответ на
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs (Alvaro Herrera)
Список
Дерево обсуждения
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Stephen Frost <sfrost@snowman.net>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Stephen Frost <sfrost@snowman.net>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Stephen Frost <sfrost@snowman.net>
Re: [COMMITTERS] pgsql: Add new catalog called pg_init_privs Stephen Frost <sfrost@snowman.net>
Alvaro, * Alvaro Herrera (alvherre@2ndquadrant.com) wrote: > Stephen Frost wrote: > > Add new catalog called pg_init_privs > > > > This new catalog holds the privileges which the system was > > initialized with at initdb time, along with any permissions set > > by extensions at CREATE EXTENSION time. This allows pg_dump > > (and any other similar use-cases) to detect when the privileges > > set on initdb-created or extension-created objects have been > > changed from what they were set to at initdb/extension-creation > > time and handle those changes appropriately. > > If you have an extension that's marked not relocatable and drop it, its > schema is left behind; trying to create the extension again, *crash*. Will take a look at this, though I'm just about to commit a fix that's probably related (and addresses Pavel's issue). Basically, for reasons unknown, I was calling systable_endscan() immediately after systable_getnext(), which doesn't work when you want to use the tuple you got back. Thanks! Stephen
В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
От: Alvaro Herrera
Дата: