Re: How to check is the table system - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: How to check is the table system
Date
Msg-id 20050915183955.GC20941@svana.org
Whole thread Raw
In response to How to check is the table system  (Андрей <andyk@softwarium.net>)
List pgsql-general
On Thu, Sep 15, 2005 at 09:12:44PM +0300, ???????????? wrote:
> Hello!
>
>    In what way can I determine is the table system? ODBC driver does it
> by checking table name's prefix: if it begins with 'pg_' - driver
> desides that the table is system, but that's a bad idea. I can create
> table and call it 'pg_mytable', but it won't become system!

Check it is in the pg_catalog schema...

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Kevin Murphy
Date:
Subject: CLUSTER equivalent
Next
From: Michael Fuhr
Date:
Subject: Re: Deadlock