agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Margret Gross-Hardt <hardt@helios.uni-muenster.de>
To: postgres@postgres.Berkeley.EDU
Subject: regproc
Date: Mon, 13 Mar 1995 10:05:11 +0000
Message-ID: <9503131005.AA02835@pandora.wim> (raw)


Hi everyone,

I have problems in finding descriptions about how to use 
(*syntactically* and semantically) the datatype 'regproc'; 
though I looked (as I think) at the complete documentation 
coming around with postgres. 

Can anyone tell me, where I can find relevant
information and especially, I would appreciate, if someone can give
me one or two  examples for using parameterized and variable
procedures. 


As an example for occurring problems, look at: 
___________________________________________________________

monitor mydb
Welcome to the C POSTGRES terminal monitor

Go 
* create test1 (nr = int4) \g

Query sent to backend is "create test1 (nr = int4) "
CREATE
Go 
* create test2 (p = regproc) \g

Query sent to backend is "create test2 (p = regproc) "
CREATE
Go 
* append test1 (nr = 100) \g

Query sent to backend is "append test1 (nr = 100) "
APPEND 129688
Go 
* append test2 (p = "retrieve (test1.nr) where test1.nr = 100") \g

Query sent to backend is "append test2 (p = "retrieve (test1.nr) where test1.nr = 100") "
Error: No response from the backend, exiting...
_______________________________________________________________________________

(Working environment: sparc under SUNOS.)

Thanx in advance,

Margret Gross-Hardt

+-----------------------------------------------------------------------+
| Margret Gross-Hardt           	| email: hardt@uni-muenster.de  |    
| Universitaet Muenster         	| 				|
| Institut fuer Wirtschaftsinformatik   | Tel.: +49-251/9275-108	|	
| Grevenerstr.  91             		| Fax.: +49-251/839754		|
|					|				|
| D-48159 Muenster             		|				|
+-----------------------------------------------------------------------+


==============================================================================
   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: hardt@helios.uni-muenster.de
  Subject: Re: regproc
  In-Reply-To: <9503131005.AA02835@pandora.wim>

* 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