Re: [PATCH] Add transforms feature - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Add transforms feature
Date
Msg-id 1379122239.19286.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: [PATCH] Add transforms feature  (Hitoshi Harada <umi.tanuki@gmail.com>)
Responses Re: [PATCH] Add transforms feature
List pgsql-hackers
Here is a new patch which addresses some of the issues you found.

> - vs SQL standard
>
After reviewing this, there is actually no conflict with the SQL
standard, because the CREATE TRANSFORM syntax in the SQL standard uses
an additional transform group clause which I don't use.  So there is no
ambiguity.  Hence, I left the syntax unchanged.

> - function types

I changed this so that CREATE TRANSFORM requires owning the from-SQL and
to-SQL functions.

> - create or replace causes inconsistency
>
Fixed this by adding cache invalidation in PL/Python.



Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ENABLE/DISABLE CONSTRAINT NAME
Next
From: Alvaro Herrera
Date:
Subject: Re: plpgsql.print_strict_params