Re: BUG #1907: problem with function return as integer[]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Kappler" <ComputerChemist(at)aol(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1907: problem with function return as integer[]
Date: 2005-09-26 19:55:25
Message-ID: 2236.1127764525@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Michael Kappler" <ComputerChemist(at)aol(dot)com> writes:
> I compiled/linked a shared object against 7.4.5. My customer installed into
> PostgreSQL 8.1beta1. My functions that return as integer[] give an empty
> string (1 row) instead of the correct result (e.g., {{2,7}{4,5}}. Do I need
> to recompile/link against 8.1 headers/objects?

Yes.

> FWIW, my 7.4.5 .so works in PostgreSQL 8.0.3.

Pure luck. We never guarantee binary compatibility across major releases.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jim.Gray 2005-09-26 20:12:40 Re: BUG #1862: ECPG Connect, host variable trailing blanks
Previous Message Tobias Brox 2005-09-26 19:11:25 Re: String Comparision Weirdness