My postgresql version is 7.2.1
I have create a function:
create function returnset(varchar) returns setofcomputers
as '
select * from computer where hostname like ''%''+$1+''%'' '
language 'plpgsql';

But when I select returnset('aaa') ,it returns:

An error has occured in pgAdmin
II:frmSQLInput.cmdExecute_Click:
Number:-2147467259
Description:ERROR:fmgr_info:function 0:cache lookup failed

Please tell me what means!
____________________________________________________________

   欢迎使用963免费邮局(http://www.szonline.net)


---------------------------(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

Reply via email to