Re: GSoC 2017: Foreign Key Arrays

From: Mark Rofail <markm(dot)rofail(at)gmail(dot)com>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, David Steele <david(at)pgmasters(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers-owner(at)postgresql(dot)org, Erik Rijkers <er(at)xs4all(dot)nl>
Subject: Re: GSoC 2017: Foreign Key Arrays
Date: 2017-08-19 17:47:13
Message-ID: CAJvoCuvAdiK8VC+HEmVV1NdhxJpCW875GKNAp6iZh49U4mJG+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 14, 2017 at 10:35 PM, Alexander Korotkov <aekorotkov(at)gmail(dot)com>
wrote:

> Should we instead use logic similar to select_common_type() and
> underlying functions?
>

I created a new adaptation of select_common_type() called
select_common_type_2args(Oid oprleft, Oid oprright) that takes two Oids and
returns the appropriate supertype.

The new function passes all the old coercion regress tests included in the
original patch written by Marco.

Attachment Content-Type Size
Array-ELEMENT-foreign-key-v4.3.patch text/x-patch 135.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Rofail 2017-08-19 17:49:44 Re: GSoC 2017: Foreign Key Arrays
Previous Message Tom Lane 2017-08-19 17:40:42 Re: Segmentation Fault during pg_restore using '--use-list' and '--jobs'