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

Re: Problem with dblink

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Cc: Andrea Grassi <andreagrassi(at)sogeasoft(dot)com>,Darko(dot)Prenosil(at)finteh(dot)hr, shridhar_daithankar(at)persistent(dot)co(dot)in
Subject: Re: Problem with dblink
Date: 2003-11-21 18:24:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Andrea Grassi wrote:

[...using dblink_build_sql_insert() inside a PL/pgSQL function...]

> ERROR:  improper call to spi_printtup
> CONTEXT:  PL/pgSQL function "f_sync_trigger_a_clifor" line 6 at select into
> variables

Attached fixes a recently reported bug in dblink. If there are no 
objections, I'll make this my first commit :-)

I intend to apply it to HEAD and REL7_4_STABLE, but it could also be 
applied to REL7_3_STABLE -- any opinions on that? Are we still 
considering a 7.3.5 release?



Attachment: dblink-bug-fix.1.patch
Description: text/plain (614 bytes)


pgsql-patches by date

Next:From: Tom LaneDate: 2003-11-21 19:23:30
Subject: Re: Problem with dblink
Previous:From: Tom LaneDate: 2003-11-21 17:45:44
Subject: Re: fix compile warning

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