dbTalk Databases Forums  

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

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1907: problem with function return as integer[] in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Kappler
 
Posts: n/a

Default [BUGS] BUG #1907: problem with function return as integer[] - 09-26-2005 , 02:28 PM







The following bug has been logged online:

Bug reference: 1907
Logged by: Michael Kappler
Email address: ComputerChemist (AT) aol (DOT) com
PostgreSQL version: 8.1beta1
Operating system: Red Hat Linux 9.0
Description: problem with function return as integer[]
Details:

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?

FWIW, my 7.4.5 .so works in PostgreSQL 8.0.3.

Michael

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1907: problem with function return as integer[] - 09-26-2005 , 04:07 PM






"Michael Kappler" <ComputerChemist (AT) aol (DOT) com> writes:
Quote:
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.

Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.