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

From Bruce Momjian
Subject Re: [pgsql-patches] pltcl/plython fixes for spi_prepare types
Date
Msg-id 200702202052.l1KKqDO25496@momjian.us
Whole thread Raw
In response to pltcl/plython fixes for spi_prepare types  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [pgsql-patches] pltcl/plython fixes for spi_prepare types  (Andrew Dunstan <andrew@dunslane.net>)
Re: [pgsql-patches] pltcl/plython fixes for spi_prepare types  (Andrew Dunstan <andrew@dunslane.net>)
List 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@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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

pgsql-patches by date:

Previous
From: Darcy Buskermolen
Date:
Subject: pg_standby Error cleanup
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-patches] Ctid chain following enhancement