From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: i.kohn@seznam.cz
Subject: BUG #15616: extension functionality issues
Date: Fri, 01 Feb 2019 08:44:58 +0000
Message-ID: <15616-260dc9cb3bec7e7e@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15616
Logged by: Ivo Kohn
Email address: i.kohn@seznam.cz
PostgreSQL version: 11.0
Operating system: Ubuntu 16.04.5 LTS
Description:
Dear PostgreSQL developers,
we are using the extensions functionality
(https://www.postgresql.org/docs/11/extend-extensions.html) for the
developing and deploying SQL applications. During the usage of its features
we have encountered some problems which might be considered as bugs.
1) pg_dump with --schema parameter
The possibility of making "configuration tables" (e.g. SELECT
pg_catalog.pg_extension_config_dump('t_students', ''); ) within the
extension is a great option to mark tables as "user input tables". Maybe
it's not the way it supposed to be used but we appreciate it, the user has
to have the ability to dump its own data, not the data necessary for the
application to be run (e.g. lookups). Pg_dump then works fine, even with the
parameter --table. But the parameter --schema fails to dump data from
specified tables (marked with the pg_extension_config_dump) within the
schema.
2) Hanging OID in extconfig
Related issue. If the table (or sequence) was assigned to dump by
pg_extension_config_dump, its OID is still present in the field "extconfig"
of pg_extension after it was removed by DROP TABLE.
3) Extension owner
There is no easy way how to change it. We consider it as a bug because we
don't have on our minds any other object in the database whose owner cannot
be changed with the ALTER statement.
Thanks in advance for the consideration of fixing those issues.
Kind Regards,
Ivo Kohn.
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: noreply@postgresql.org, i.kohn@seznam.cz
Subject: Re: BUG #15616: extension functionality issues
In-Reply-To: <15616-260dc9cb3bec7e7e@postgresql.org>
References: <15616-260dc9cb3bec7e7e@postgresql.org>
* 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