Re: BUG #1907: problem with function return as integer[] - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1907: problem with function return as integer[]
Date
Msg-id 2236.1127764525@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1907: problem with function return as integer[]  ("Michael Kappler" <ComputerChemist@aol.com>)
List pgsql-bugs
"Michael Kappler" <ComputerChemist@aol.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

pgsql-bugs by date:

Previous
From: Jim.Gray@Bull.com
Date:
Subject: Re: BUG #1862: ECPG Connect, host variable trailing blanks
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #1862: ECPG Connect, host variable trailing blanks