From: Tom Lane <tgl@sss.pgh.pa.us>
To: lr@pcorp.us
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6640: pg_dump does not always dump data of tables marked as editable in extension
Date: Sun, 20 May 2012 13:27:48 -0400
Message-ID: <5301.1337534868@sss.pgh.pa.us> (raw)
In-Reply-To: <E1SUGqM-0006yE-Fn@wrigleys.postgresql.org>
References: <E1SUGqM-0006yE-Fn@wrigleys.postgresql.org>
lr@pcorp.us writes:
> This seems to be only an issue if a user individually chooses to backup a
> table marked as editable in an extension, but works fine if full backup is
> chosen.
AFAICT this is a misunderstanding of the intended behavior of extension
configuration tables. The data in them will be dumped when, and only when,
the extension itself is included in the dump. Moreover, if you have a
mixture of extension-provided and user-provided data in the table, as
seems to be the case here, you really need to take measures to keep
those separate so that you can dump only the user-provided entries.
This is not a "fire and forget" type of feature, it requires nontrivial
effort on the part of the extension author to make it useful. Please
see
http://www.postgresql.org/docs/9.1/static/extend-extensions.html#AEN51978
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, lr@pcorp.us
Subject: Re: BUG #6640: pg_dump does not always dump data of tables marked as editable in extension
In-Reply-To: <5301.1337534868@sss.pgh.pa.us>
References: <E1SUGqM-0006yE-Fn@wrigleys.postgresql.org> <5301.1337534868@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox