Puneet Paul <[EMAIL PROTECTED]> writes: > DECLARE > curTrackList char(15) ALIAS for $1; > sliceFile varchar ALIAS for $2; > lmfpLimit integer ALIAS for $3 > mTrackDet RECORD;
If that's an accurate copy of your function, then the problem is likely the lack of a semicolon on the lmfpLimit line. I'm not sure why you don't get a syntax error, but evidently the "mTrackDet RECORD" is getting treated as a noise phrase in the lmfpLimit declaration. What Postgres version is this, anyway? The current sources do not look like they'd accept such a thing without raising an error, but possibly older releases would. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly