pltcl/plython fixes for spi_prepare types

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: pltcl/plython fixes for spi_prepare types
Date: 2007-01-27 19:47:35
Message-ID: 45BBAC57.8040709@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Here's a patch along the same lines as the fix for plperl committed
earlier today, that allows passing type aliases to spi_prepare as well
as types named in pg_type. It also removes the mention of the previous
limitation in the pltcl docs. Unlike the plperl and pltcl cases, I
didn't use the simpler form that Tom suggested for plpython, as that
code wants to get hold of the HeapTuple. If anyone wants to tidy that up
some, feel free. Also, some regression tests from those with more tcl-fu
or python-fu that I have would be nice.

I'll apply this in a day or two unless there's an objection.

cheers

andrew

Attachment Content-Type Size
plfix.patch text/x-patch 5.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2007-01-27 20:01:49 minor regression test refactor
Previous Message Tom Lane 2007-01-27 16:38:03 Re: [pgsql-patches] Change draft gmake control