Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id KAA29524 for postgres-redist; Wed, 3 May 1995 10:04:18 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199505031704.KAA29524@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from kuhub.cc.ukans.edu (SYSTEM@kuhub.cc.ukans.edu [129.237.32.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id KAA29514 for ; Wed, 3 May 1995 10:04:16 -0700 Received: from newell.cecase.ukans.edu by KUHUB.CC.UKANS.EDU (PMDF V4.3-11 #9008) id <01HQ2DLD1BC094SHUH@KUHUB.CC.UKANS.EDU>; Wed, 03 May 1995 12:04:09 -0500 (CDT) Received: by newell.cecase.ukans.edu (4.1/KU-1.5) id AA02467; Wed, 3 May 95 12:04:47 CDT Date: Wed, 03 May 1995 12:04:47 -0500 (CDT) From: Zhennong Wang Subject: question about define function To: postgres@postgres.Berkeley.EDU Message-id: <9505031704.AA02467@newell.cecase.ukans.edu> Content-transfer-encoding: 7BIT Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 03 May 95 10:04:18 -0700 Resent-XMts: smtp Hi, I am using POSTGRES to build a database. I have a question to ask some of you. Any answer is appreciated. The problem is that I use "define function" to define a function (postquel language) to append some data to a database, when I call this function, the system tells me "no such attribute or function". I have tried that any postquel commands are fine except "append" command under define function. I don't what is wrong with it. please help!!! Thank you. the program is following: define function appay (language="postquel", returntype=int4) arg is (text, int4, char16) as "append emp (name = $1, salary = $2, dept = $3) retrieve (x = 1)"\g wang ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU". If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/