Re: [HACKERS] GSoC 2017: Foreign Key Arrays

Поиск
Список
Период
Сортировка
Искать
От
Joel Jacobson
Тема
Re: [HACKERS] GSoC 2017: Foreign Key Arrays
Дата
Msg-id
e664a558-0d47-4fe2-b3b5-ce3ec0336d6d@www.fastmail.com
Ответ на
Список
Дерево обсуждения
[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>
Hi Mark,

On Mon, Jan 25, 2021, at 09:14, Joel Jacobson wrote:
I'll continue testing over the next couple of days and report if I find any more oddities.

I've continued testing by trying to make full use of this feature in the catalog-diff-tool I'm working on.

Today I became aware of a SQL feature that I must confess I've never used before,
that turned out to be useful in my tool, as I then wouldn't need to follow FKs
to do updates manually, but let the database do them automatically.

I'm talking about "ON CASCADE UPDATE", which I see is not supported in the patch.

In my tool, I could simplify the code for normal FKs by using ON CASCADE UPDATE,
but will continue to need my hand-written traverse-FKs-recursively code for Foreign Key Arrays.

I lived a long SQL life without ever needing ON CASCADE UPDATE,
so I would definitively vote for Foreign Key Arrays to be added even without support for this.

Would you say the patch is written in a way which would allow adding support for ON CASCADE UPDATE
later on mostly by adding code, or would it require a major rewrite?

I hesitated if I should share this with you, since I'm really grateful for this feature even without ON CASCADE UPDATE,
but since this was discovered when testing real-life scenario and not some hypothetical example,
I felt it should be noted that I stumbled upon this during testing.

Again, thank you so much for working on this.

/Joel
В списке pgsql-hackers по дате отправления
От: Vik Fearing
Дата:
От: Amit Langote
Дата:
FAQ