Re: WIP: Rework access method interface

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: WIP: Rework access method interface
Дата
Msg-id
12645.1440425742@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Teodor Sigaev <teodor@sigaev.ru>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Teodor Sigaev <teodor@sigaev.ru>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Andres Freund <andres@anarazel.de>
Re: WIP: Rework access method interface Amit Kapila <amit.kapila16@gmail.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Amit Kapila <amit.kapila16@gmail.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Michael Paquier <michael.paquier@gmail.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Robert Haas <robertmhaas@gmail.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Andres Freund <andres@anarazel.de>
Re: WIP: Rework access method interface Robert Haas <robertmhaas@gmail.com>
Re: WIP: Rework access method interface Amit Kapila <amit.kapila16@gmail.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Michael Paquier <michael.paquier@gmail.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Amit Kapila <amit.kapila16@gmail.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Oleg Bartunov <obartunov@gmail.com>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: WIP: Rework access method interface Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Rework access method interface Petr Jelinek <petr@2ndquadrant.com>
Re: WIP: Rework access method interface Alexander Korotkov <a.korotkov@postgrespro.ru>
Alexander Korotkov  writes:
> On Mon, Aug 10, 2015 at 7:50 PM, Tom Lane  wrote:
>> Hm.  So one way or the other we're going to end up violating relational
>> theory somewhere.  OK, I yield: let's say that pg_am has amname, amkind,
>> amhandler, and nothing else.  Then we will need SQL functions to expose
>> whatever information we think needs to be available to SQL code.

> There is second revision of this patch. Changes are so:

>  * AmRoutine was renamed to IndexAmRoutine assuming there could be other
> access methods in the future.
>  * amhandlers now return index_am_handler pseudotype.
>  * CHECK_PROCEDUREs are now is the place of original GET_REL_PROCEDUREs.
>  * amstrategies, amsupport, amcanorderbyop, amstorage, amkeytype are in
> both pg_am and IndexAmRoutine. Consistence of amhandler answer and pg_am
> tuple is checking.

[ scratches head... ]  I thought we'd just agreed we weren't going to keep
any of those pg_am columns?  If we keep them, we'll have to define what
they mean for sequence AMs etc.  ("Let them be NULL" would likely break
enough stuff that we might as well not have them.)
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Alexander Korotkov
Дата:
От: Thor Lancelot Simon
Дата:
FAQ