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: 3FBE5870.2030601@joeconway.com (view raw or flat)
Thread:
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?

Thanks,

Joe

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

Responses

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-2014 The PostgreSQL Global Development Group