Re: updated win32 patch

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: updated win32 patch
Date: 2003-02-03 20:41:32
Message-ID: 3E3ED3FC.258071A2@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway wrote:
and AFAICS the following function that the patch
> adds isn't related to Win32 at all:
>
> + /* For unknown parameter type during parse */
> + void set_param_type(int t, Oid typid)
> + {
> + if ((t > pfunc_num_args) || (t <= 0))
> + return;
> + param_type_info[t - 1] = typid;
> + }

Good catch ...

That one is part of something that enables SPI preparation of plans with
parameters of unknown datatype. The caller of SPI_prepare then will find
the datatypes choosen by the parser/planner in the array passed in. Need
to make that a separate one ...

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message John Cochran 2003-02-04 02:18:41 timestamp patch to extend legal range of dates.
Previous Message Roberto Mello 2003-02-03 19:31:53 Re: documentation improvements