Return-Path: owner-postman Delivery-Date: Thu, 28 Apr 94 14:53:42 -0700 Return-Path: owner-postman Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id KAA14931 for postgres-redist; Thu, 28 Apr 1994 10:49:20 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199404281749.KAA14931@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from tpdusv.tpd.tno.nl (tpdusv.tpd.tno.nl [134.221.131.15]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id KAA14921 for ; Thu, 28 Apr 1994 10:49:16 -0700 Received: by tpdusv.tpd.tno.nl (5.65/DEC-Ultrix/4.3/GVA) id AA07349; Thu, 28 Apr 1994 19:48:44 +0200 Received: by tpdbbs.local (5.57/Ultrix3.0-C) id AA20653; Thu, 28 Apr 94 19:48:43 +0200 From: ejonge@tpd.tno.nl (Eric de Jonge) Message-Id: <9404281748.AA20653@tpdbbs.local> Subject: dynamic linking in version 4.2 To: postgres@postgres.Berkeley.EDU (post list) Date: Thu, 28 Apr 1994 19:48:42 +0200 (MET DST) Cc: ejonge@tpd.tno.nl (Eric de Jonge) X-Mailer: ELM [version 2.4 PL21] Content-Type: text Content-Length: 1244 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Thu, 28 Apr 94 10:49:19 -0700 Resent-XMts: smtp Hi, just an upgrade to version 4.2 (DEC/ULTRIX) DYNAMIC LINKING ISN'T WORKING? % cc -c -g -G 0 -I/postgres/src/backend circle.c * define function circle_in (language="c", returntype = circle) arg is (any) as "/home/ejonge/pg4.2/circle.o" \g NOTICE:Apr 28 19:35:21:ProcedureDefine: type 'circle' is not yet defined NOTICE:Apr 28 19:35:21:ProcedureDefine: creating a shell for type 'circle' DEFINE * define function circle_out (language="c", returntype = any) arg is (circle) as "/home/ejonge/pg4.2/circle.o" \g NOTICE:Apr 28 19:35:26:ProcedureDefine: arg type 'circle' is only a shell DEFINE * define type circle (internallength=24, input=circle_in, output=circle_out) \g WARN:Apr 28 19:35:36:TypeDefine: function circle_out(any) does not exist ====================== ANYWAY TRY SOMETHING: ===================== * create testkl(a=circle)\g CREATE * append testkl(a="(1.0,1.0,1.0)"::circle)\g WARN:Apr 28 19:37:08:fmgr_info: function 0: cache lookup failed ================================= What's this: => define function "creating a shell" ? => define type "function circle_out(any) does not exist" ???? => append "fmgr_info: function 0: cache lookup failed" ??? WHAT'S WRONG!!!????? Bye, -- Eric de Jonge, ejonge@tpd.tno.nl =============================================================================== To add/remove yourself 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. ===============================================================================