Re: Should partial dumps include extensions?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Should partial dumps include extensions?
Date: 2011-05-25 03:26:55
Message-ID: BANLkTikjRu7t_8TCWxxWC=yf2KVKvunEkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 24, 2011 at 4:44 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> There's a complaint here
> http://archives.postgresql.org/pgsql-general/2011-05/msg00714.php
> about the fact that 9.1 pg_dump always dumps CREATE EXTENSION commands
> for all loaded extensions.  Should we change that?  A reasonable
> compromise might be to suppress extensions in the same cases where we
> suppress procedural languages, ie if --schema or --table was used
> (see "include_everything" switch in pg_dump.c).

Making it work like procedural languages seems sensible to me.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-05-25 03:47:18 Re: Pre-alloc ListCell's optimization
Previous Message Stephen Frost 2011-05-25 03:03:05 Re: Pre-alloc ListCell's optimization