Re: [HACKERS] GSoC 2017: Foreign Key Arrays

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: [HACKERS] GSoC 2017: Foreign Key Arrays
Дата
Msg-id
20170719200857.zwuyj7wlta6dvzto@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
[HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
[HACKERS] regproc and when to schema-qualify Chapman Flack <chap@anastigmatix.net>
Re: [HACKERS] regproc and when to schema-qualify Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Erik Rijkers <er@xs4all.nl>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Erik Rijkers <er@xs4all.nl>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Re: [HACKERS] GSoC 2017: Foreign Key Arrays David Steele <david@pgmasters.net>
Re: Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays David Steele <david@pgmasters.net>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Zhihong Yu <zyu@yugabyte.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: GSoC 2017: Foreign Key Arrays Joel Jacobson <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays "Joel Jacobson" <joel@compiler.org>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Zhihong Yu <zyu@yugabyte.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Zhihong Yu <zyu@yugabyte.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Erik Rijkers <er@xs4all.nl>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Erik Rijkers <er@xs4all.nl>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alexander Korotkov <aekorotkov@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Enrique Meneses <emmeneses@gmail.com>
Re: [HACKERS] GSoC 2017: Foreign Key Arrays Mark Rofail <markm.rofail@gmail.com>
Mark Rofail wrote:
> On Tue, Jul 18, 2017 at 11:14 PM, Alvaro Herrera 
> wrote:
> >
> > Why did we add an operator and not a support
> > procedure?
> 
> I thought the support procedures were constant within an opclass.

Uhh ... I apologize but I think I was barking at the wrong tree.  I was
thinking that it mattered that the opclass mechanism was able to
determine whether some array @>> some element, but that's not true: it's
the queries in ri_triggers.c, which have no idea about opclasses.

(I tihnk we would have wanted to use to opclasses in order to find out
what operator to use in the first place, if ri_triggers.c was already
using that general idea; but in reality it's already using hardcoded
operator names, so it doesn't matter.)

I'm not entirely sure what's the best way to deal with the polymorphic
problem, but on the other hand as Robert says downthread maybe we
shouldn't be solving it at this stage anyway.  So let's step back a bit,
get a patch that works for the case where the types match on both sides
of the FK, then we review that patch; if all is well, we can discuss the
other problem as a stretch goal.

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


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Tom Lane
Дата:
FAQ