Proposed TODO: add support for "any" for PL/PythonU and PL/Perl - Mailing list pgsql-hackers

From Josh Berkus
Subject Proposed TODO: add support for "any" for PL/PythonU and PL/Perl
Date
Msg-id 51928142.2010905@agliodbs.com
Whole thread Raw
Responses Re: Proposed TODO: add support for "any" for PL/PythonU and PL/Perl  (Robert Haas <robertmhaas@gmail.com>)
Re: Proposed TODO: add support for "any" for PL/PythonU and PL/Perl  (Manlio Perillo <manlio.perillo@gmail.com>)
List pgsql-hackers
Hackers,

I'd like to add the following todo items to the TODO list:

PL/Python:
* add support for anyelement and anyarray to PL/Python
* add support for VARIADIC "ANY" to PL/Python

PL/Perl:
* add support for anyelement and anyarray to PL/Perl
* add support for VARIADIC "ANY" to PL/Perl

The reason for this is that both Python and Perl are loosely typed
languages, and deal with variables as polymorphic.  Mapping Postgres
polymorphic parameters to functions in these PLs couldn't be more
natural.  I know from my part that support for VARIADIC "ANY" in
PL/Python would save me a bunch of shell function writing.

I don't personally intend to hack these out, but they seem like good
things to put on the TODO list as good tasks for new hackers (and maybe
GSOC students) to take on.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Maciej Gajewski
Date:
Subject: Patch proposal: query result history in psql
Next
From: Josh Berkus
Date:
Subject: Re: Slicing TOAST