Re: How to check is the table system

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: How to check is the table system
Дата
Msg-id 20050915183955.GC20941@svana.org
обсуждение исходный текст
Ответ на How to check is the table system  (Андрей <andyk@softwarium.net>)
Список 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.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Kevin Murphy
Дата:
Сообщение: CLUSTER equivalent
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Deadlock