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 OAA04094 for postgres-redist; Wed, 3 May 1995 14:33:04 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199505032133.OAA04094@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 OAA04083 for <postgres@postgres.berkeley.edu>; Wed, 3 May 1995 14:33:01 -0700
Received: from newell.cecase.ukans.edu by KUHUB.CC.UKANS.EDU
 (PMDF V4.3-11 #9008) id <01HQ2MZ6SRV494S0BQ@KUHUB.CC.UKANS.EDU>; Wed,
 03 May 1995 16:32:36 -0500 (CDT)
Received: by newell.cecase.ukans.edu (4.1/KU-1.5) id AA03360; Wed,
 3 May 95 16:33:10 CDT
Date: Wed, 03 May 1995 16:33:10 -0500 (CDT)
From: Zhennong Wang <wang@newell.cecase.ukans.edu>
Subject: question about define function
To: postgres@postgres.Berkeley.EDU
Message-id: <9505032133.AA03360@newell.cecase.ukans.edu>
Content-transfer-encoding: 7BIT
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Wed, 03 May 95 14:33:03 -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/


 

==============================================================================
   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/
