Re: Add CREATE EXTENSION Support

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Add CREATE EXTENSION Support
Date: 2014-01-30 17:34:03
Message-ID: 0BF12A2A-F035-4A27-AEEA-9F59680D352D@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Jan 30, 2014, at 5:52 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

>> I changed it to exclude the five default classes by name rather than ID, which should be cleaner.
>
> Those are really just defaults - users may well want to edit them to
> their own requirements.

Then I think this is the correct approach. We just want to prevent it from dumping rows that will be created by CREATE EXTENSION. Even if they rename them, if they dump the database, then load into a new one, there will be no conflicts (although they might end up with more rows than they started with before the dump).

> There's a missing word in there:
>
> +If the server *is* 9.1 or later....

Fixed, thanks.

> I think that's such a narrow use case, it's probably not worth doing.
> You're more likely to have things the other way round - multiple
> servers running the agent, all using a single database, which likely
> also has a local agent instance.

Okay.

> Let me know when you're happy with the code and then I'll do a more
> complete review with a view to committing.

I'm happy with it now. :-)

Best,

David

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2014-01-31 06:03:12 Re: Fixed some compiler warnings
Previous Message Dave Page 2014-01-30 14:05:29 Re: Fixed some compiler warnings