Re: [pgsql-patches] pltcl/plython fixes for spi_prepare types

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [pgsql-patches] pltcl/plython fixes for spi_prepare types
Date: 2007-02-20 20:52:13
Message-ID: 200702202052.l1KKqDO25496@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Uh, I haven't seen this applied yet.

---------------------------------------------------------------------------

Andrew Dunstan wrote:
>
> 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

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-20 20:57:10 Re: [pgsql-patches] Ctid chain following enhancement
Previous Message Darcy Buskermolen 2007-02-20 20:12:35 pg_standby Error cleanup