pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14336: Using rls on a table, suddenly the table is missing
2+ messages / 2 participants
[nested] [flat]
* BUG #14336: Using rls on a table, suddenly the table is missing
@ 2016-09-23 08:00 alain_peters@yahoo.fr
0 siblings, 1 reply; 2+ messages in thread
From: alain_peters@yahoo.fr @ 2016-09-23 08:00 UTC (permalink / raw)
To: pgsql-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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #14336: Using rls on a table, suddenly the table is missing
@ 2016-09-29 14:32 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: alain_peters@yahoo.fr
0 siblings, 0 replies; 2+ messages in thread
From: Alvaro Herrera @ 2016-09-29 14:32 UTC (permalink / raw)
To: alain_peters@yahoo.fr; +Cc: pgsql-bugs
alain_peters@yahoo.fr wrote:
> 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.
Can you provide the precise SQL commands that you ran to achieve this?
I don't think this is expected, but without a means to reproduce it
we're unable to verify what is going on.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-09-29 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 08:00 BUG #14336: Using rls on a table, suddenly the table is missing alain_peters@yahoo.fr
2016-09-29 14:32 ` Alvaro Herrera <alvherre@2ndquadrant.com>
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