Re: [PATCH] Add transforms feature
Hannu Krosing <hannu@2ndquadrant.com>
From: Hannu Krosing <hannu@2ndQuadrant.com>
To: Peter Eisentraut <peter_e@gmx.net>,
pgsql-hackers <pgsql-hackers@postgresql.org>,
Dimitri Fontaine <dimitri@2ndquadrant.fr>
Date: 2013-11-26T22:08:58Z
Lists: pgsql-hackers
On 11/12/2013 12:21 PM, Peter Eisentraut wrote: > A transform is an SQL object that supplies to functions for converting > between data types and procedural languages. How hard would it be to extend this to add transforms directly between pairs of procedural languages ? One example would be calling a pl/v8 function from pl/python and converting directly between integers in both, without going through PostgreSQL type. Another and maybe even more interesting would be automatic null-transforms between two pl/python functions. Cheers -- Hannu Krosing PostgreSQL Consultant Performance, Scalability and High Availability 2ndQuadrant Nordic OÜ