contrib catalogs

Поиск
Список
Период
Сортировка
От Kevin Neufeld
Тема contrib catalogs
Дата
Msg-id 4887B509.9030704@refractions.net
обсуждение исходный текст
Ответы Re: contrib catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
This might seem like a silly question, but what are the implications of
PostgreSQL allowing developers to create custom catalogs?

For example, PostgreSQL currently uses the pg_catalog schema to store
system catalogs / relations / functions / etc.  Has thought gone into
extending the scope to allow contrib modules to create their own
catalogs (ie. a PostGIS catalog, cube, tsearch2, etc.)?

The largest advantage I see is significantly easier upgrades.  Having
contrib tables/functions flagged as a catalog, pg_dump won't include
them in a dump - restoring into an upgraded database becomes painless.

Cheers,
Kevin

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: How support more native locale in one cluster?
Следующее
От: Alex Vinogradovs
Дата:
Сообщение: cast affects use of indexes ?