Re: [pgadmin-hackers] public.pg_class isn't a catalog table - Mailing list pgsql-bugs

From Dave Page
Subject Re: [pgadmin-hackers] public.pg_class isn't a catalog table
Date
Msg-id 46DFB895.9090300@postgresql.org
Whole thread Raw
List pgsql-bugs
Decibel! wrote:
> Version 1.6.3; if you have a table in public called pg_class and try to
> drop it, pgAdmin gives an error:
>
> ERROR: permission denied: "pg_class" is a system catalog
>
> The drop does work correctly from psql...

I'm sure you (Jim) have seen the reasons why this happens pgAdmin in the
rest of the thread, but I wonder also if this could be considered a bug
in the server:

foo=# create table pg_class(a text);
CREATE TABLE
foo=# drop table pg_class;
ERROR:  permission denied: "pg_class" is a system catalog
foo=# drop table public.pg_class;
DROP TABLE
foo=#

It's certainly inconsistent.

/D

pgsql-bugs by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: BUG #3600: ODBC Driver not working with BIGINT
Next
From: "Unicode converter buffer overflow in psqlodbc driver"
Date:
Subject: BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.