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 BAA09861 for postgres-redist; Mon, 13 Mar 1995 01:04:39 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199503130904.BAA09861@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 obelix.uni-muenster.de (OBELIX.UNI-MUENSTER.DE [128.176.0.11]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id BAA09851 for ; Mon, 13 Mar 1995 01:04:34 -0800 Received: from HELIOS.UNI-MUENSTER.DE by uni-muenster.de (AIX 3.2/UCB 5.64/4.03) id AA55939; Mon, 13 Mar 1995 10:03:48 +0100 Received: from pandora.wim (PANDORA.UNI-MUENSTER.DE) by helios.uni-muenster.de (4.1/SMI-4.1) id AA06682; Mon, 13 Mar 95 10:05:16 GMT Received: by pandora.wim (5.0/SMI-SVR4) id AA02835; Mon, 13 Mar 1995 10:05:11 +0000 Date: Mon, 13 Mar 1995 10:05:11 +0000 From: hardt@helios.uni-muenster.de (Margret Gross-Hardt) Message-Id: <9503131005.AA02835@pandora.wim> To: postgres@postgres.Berkeley.EDU Subject: regproc X-Sun-Charset: US-ASCII Content-Length: 1689 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Mon, 13 Mar 95 01:04:39 -0800 Resent-XMts: smtp 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/