From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Stefan Keller <sfkeller@gmail.com>
Cc: Mark Rofail <markm.rofail@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: vignesh C <vignesh21@gmail.com>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: David Steele <david@pgmasters.net>
Cc: Erik Rijkers <er@xs4all.nl>
Cc: Hans-Jürgen Schönig <hs@cybertec.at>
Cc: Joel Jacobson <joel@compiler.org>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Zhihong Yu <zyu@yugabyte.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] GSoC 2017: Foreign Key Arrays
Date: Tue, 5 Oct 2021 16:15:43 -0300
Message-ID: <202110051915.agicatxbn36k@alvherre.pgsql> (raw)
In-Reply-To: <CAFcOn28P144bUXzWYtMThHqm39G0rMi7aR3ZhQY2M0Fxs75TwQ@mail.gmail.com>
Hi Stefan,
On 2021-Oct-03, Stefan Keller wrote:
> Just for my understanding - and perhaps as input for the documentation of this:
> Are Foreign Key Arrays a means to implement "Generic Foreign Keys" as
> in Oracle [1] and Django [2], and of "Polymorphic Associations" as
> they call this in Ruby on Rails?
No -- at least as far as I was able to understand the pages you linked to.
It's intended for array elements of one column to reference values in a
scalar column. These are always specific columns, not "generic" or
"polymorphic" (which I understand to mean one of several possible
columns).
Thanks,
--
Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: alvherre@alvh.no-ip.org, sfkeller@gmail.com, markm.rofail@gmail.com, daniel@yesql.se, vignesh21@gmail.com, aekorotkov@gmail.com, andreas@proxel.se, david@pgmasters.net, er@xs4all.nl, hs@cybertec.at, joel@compiler.org, pryzby@telsasoft.com, michael@paquier.xyz, robertmhaas@gmail.com, sfrost@snowman.net, tgl@sss.pgh.pa.us, zyu@yugabyte.com
Subject: Re: [HACKERS] GSoC 2017: Foreign Key Arrays
In-Reply-To: <202110051915.agicatxbn36k@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox