Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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>

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

In response to


pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group