From: alain_peters@yahoo.fr
To: pgsql-bugs@postgresql.org
Subject: BUG #14336: Using rls on a table, suddenly the table is missing
Date: Fri, 23 Sep 2016 08:00:01 +0000
Message-ID: <20160923080001.1505.87038@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14336
Logged by: Peters Alain
Email address: alain_peters@yahoo.fr
PostgreSQL version: 9.5.4
Operating system: 2.6.32-642.el6.x86_64 GNU/Linux
Description:
I have define a rls on a table called alain. I test the rls and I don't
known why, suddenly the table disappear . Th table is missing but when I
try to recreate it , i receive the following message : ERROR: type "alain"
already exists
HINT: A relation has an associated type of the same name, so you must use a
name that doesn't conflict with any existing type.
Table name doesn't exist in pg_tables but can be retrive in pg_type .
It's not possible to drop the policy associated with the table that has
dissapeared. I have retrieved the data
of the table that is missing in a table
called pg_catalog.pg_rowsecurity.
My question : how to rename the table pg_catalog.pg_rowsecurity to alain
(name of the table missing) ?
Kind regards
Alain Peters (ziegler Group Belgium)
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: alain_peters@yahoo.fr
Subject: Re: BUG #14336: Using rls on a table, suddenly the table is missing
In-Reply-To: <20160923080001.1505.87038@wrigleys.postgresql.org>
References: <20160923080001.1505.87038@wrigleys.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