Re: [HACKERS] GSoC 2017: Foreign Key Arrays - Mailing list pgsql-hackers

From Mark Rofail
Subject Re: [HACKERS] GSoC 2017: Foreign Key Arrays
Date
Msg-id CAJvoCuvAdiK8VC+HEmVV1NdhxJpCW875GKNAp6iZh49U4mJG+g@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] GSoC 2017: Foreign Key Arrays  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
On Mon, Aug 14, 2017 at 10:35 PM, Alexander Korotkov <aekorotkov@gmail.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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Segmentation Fault during pg_restore using '--use-list' and '--jobs'
Next
From: Mark Rofail
Date:
Subject: Re: [HACKERS] GSoC 2017: Foreign Key Arrays