Re: WIP: Rework access method interface

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WIP: Rework access method interface
Дата
Msg-id 20150810161621.GC2441@postgresql.org
обсуждение исходный текст
Ответ на Re: WIP: Rework access method interface  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP: Rework access method interface
Список pgsql-hackers
Tom Lane wrote:

> There are a couple of other pg_am columns, such as amstorage and
> amcanorderbyop, which similarly bear on what's legal to appear in
> related catalogs such as pg_opclass.  I'd be sort of inclined to
> leave those in the catalog as well.  I do not see that exposing
> a SQL function is better than exposing a catalog column; either
> way, that property is SQL-visible.

If we do that, it doesn't seem reasonable to use the same catalog for
other things such as sequence AM, right?  IMO it'd be better to keep the
catalog agnostic for exactly what each row is going to be an AM for.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: GIN pageinspect functions
Следующее
От: Qingqing Zhou
Дата:
Сообщение: Re: cache invalidation skip logic