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

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 (view raw or flat)
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

pgsql-bugs by date

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

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