On 22.06.23 22:56, Greg Sabino Mullane wrote:
* Do all of these transforms need to be their own contrib modules? So much duplicated code across contrib/*_plperl already (and *plpython too for that matter) ...
The reason the first transform modules were separate extensions is that they interfaced between one extension (plpython, plperl) and another extension (ltree, hstore), so it wasn't clear where to put them without creating an additional dependency for one of them.
If the transform deals with a built-in type, then they should just be added to the respective pl extension directly.