Terry Lee Tucker wrote:> My version is: 7.2.3-RH
That would be the first problem -- you need at least 7.3.x to return a composite type from PL/pgSQL. Might as well upgrade to 7.4.1 if you're going to do it at all.
Joe