agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Zhennong Wang <wang@newell.cecase.ukans.edu>
To: postgres@postgres.Berkeley.EDU
Subject: question about define function
Date: Wed, 03 May 1995 16:33:10 -0500 (CDT)
Message-ID: <9505032133.AA03360@newell.cecase.ukans.edu> (raw)
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/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: wang@newell.cecase.ukans.edu
Subject: Re: question about define function
In-Reply-To: <9505032133.AA03360@newell.cecase.ukans.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox