Re: pg_dump with postgis extension dumps rules separately

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump with postgis extension dumps rules separately
Date: 2013-05-29 12:52:46
Message-ID: m2obbu6j8h.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2013-05-29 09:30:43 +0200, Dimitri Fontaine wrote:
>> > 2) How should we handle already installed extensions, which will still
>> > lack dependency records after this bugfix?
>>
>> I don't really see any other way here than providing an upgrade script
>> that will somehow re-attach those objects, either by directly messing
>> with pg_depends (that is, when there's a systematic way to get the OIDs
>> of the missing RULEs), or by maybe doing a drop/create on the RULEs?
>
> Couldn't ALTER EXTENSION ... ADD ...; be brought up to speed to support
> this?

I'll blame the Time Zone Difference Recovering. I felt like missing
something…

Thanks, regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ray Stell 2013-05-29 12:59:42 Re: [GENERAL] pg_upgrade -u
Previous Message Albe Laurenz 2013-05-29 12:17:16 Re: GRANT role_name TO role_name ON database_name