Re: GSoC 2017: Foreign Key Arrays

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Mark Rofail <markm(dot)rofail(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvaro(dot)herrera(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: GSoC 2017: Foreign Key Arrays
Date: 2017-06-18 20:16:09
Message-ID: CAPpHfdtxjbTHvwzvaK5NYpmZeDxZMwSD8v0=evJ_y15656TzVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 18, 2017 at 12:41 AM, Mark Rofail <markm(dot)rofail(at)gmail(dot)com>
wrote:

> *Questions:*
>
> - I'd like to check that anyelem and anyarray have the same element
> type. but anyelem is obtained from PG_FUNCTION_ARGS as a Datum. How
> can I make such a check?
>
>
As I know, it's implicitly checked during query analyze stage. You don't
have to implement your own check inside function implementation.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2017-06-18 22:11:23 Re: WIP: Data at rest encryption
Previous Message Peter Geoghegan 2017-06-18 19:21:45 Re: INSERT ... ON CONFLICT () SELECT