Re: [HACKERS] Rules for 6.4 finished

Поиск
Список
Период
Сортировка
От David Hartwig
Тема Re: [HACKERS] Rules for 6.4 finished
Дата
Msg-id 35E425D9.A1262CDF@insightdist.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Rules for 6.4 finished  (jwieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] Rules for 6.4 finished
Список pgsql-hackers
This is true.    It would be cleaner, though, if we could check for an
attribute in pg_class.   I do not recall one for that purpose.

Thomas G. Lockhart wrote:

> >     I'm  running into some naming problems while doing so. Having
> >     pg_table, pg_view etc. as views lets a users assume  pg_index
> >     would  be one too where to get some information. But pg_index
> >     already exists.
> >
> >     Should I name all of them pgv_... ?
> >
> >     Other databases have many views starting with DBA or  SYS  on
> >     the  other  hand.  For now I'll start naming them pgv_..., we
> >     could rename them before applying the patch.
>
> I recall that there are some places in the code (maybe only in the
> client-side drivers?) which check explicitly for a "pg_%" pattern to
> decide if a table or resource is a system table.
>
> How about "pg_index_v", for example?
>
>                      - Tom




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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: getopts include?
Следующее
От: Keith Parks
Дата:
Сообщение: Re: [HACKERS] initdb problems