Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id PAA25980 for postgres-redist; Tue, 28 Jun 1994 15:47:36 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199406282247.PAA25980@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 cs.mtu.edu (cs.mtu.edu [141.219.150.12]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id PAA25970 for <postgres@nobozo.CS.Berkeley.EDU>; Tue, 28 Jun 1994 15:47:33 -0700
Received: from werner.mtu.edu (werner.cs.mtu.edu) by cs.mtu.edu (4.1/SMI-4.1)
	id AA23794; Tue, 28 Jun 94 18:47:14 EDT
From: aataneja@cs.mtu.edu (Bruce Taneja.)
Message-Id: <9406282247.AA23794@cs.mtu.edu>
Subject: link failed in load of ADT file ..
To: postgres@postgres.Berkeley.EDU
Date: Tue, 28 Jun 1994 18:47:13 -0400 (EDT)
Cc: aataneja@cs.mtu.edu (Bruce Taneja.)
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text
Content-Length: 1371      
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Tue, 28 Jun 94 15:47:35 -0700
Resent-XMts: smtp



Hi folks,

I wonder if having substantially large code for input & output
functions for a defined data type emp_DT  (just like circle)
causes problems ...??

++++++++++++++++++++++++++++++++++++++++
     define function emp_DT_in
    (language = "c", returntype = emp)
     arg is (char16)
      as "/resrch2/postgres/bruce/emp.o" \g


     define function emp_DT_out
    (language = "c", returntype = emp)
     arg is (emp)
    as "/resrch2/postgres/bruce/emp.o" \g


               define type emp_DT
               (internallength = 568,        <<<<<<<<<<<<<< length = 568.
                input =emp_DT_in, output=emp_DT_out) \g

   create ntable(emp = emp_DT) \g

   append ntable (emp = "(23,John,(),(),())"::emp_DT) \g
+++++++++++++++++++++++++++++

*  append ntable (emp = "(23,John,(),(),())"::emp_DT) \g

Query sent to backend is "append ntable (emp = "(23,John,(),(),())"::emp_DT) "
WARN:Jun 28 18:36:45:Load of file /resrch2/postgres/bruce/emp.o failed: link fai
led!

---------------

I assure you that the file IS there compiled with the same options which
successfully compile circle.c ........

even :
* load  "/resrch2/postgres/bruce/emp.o" \g

Query sent to backend is "load  "/resrch2/postgres/bruce/emp.o" "
WARN:Jun 28 18:45:53:Load of file /resrch2/postgres/bruce/emp.o failed: link fai
led!
-------------------

All comments appreciated !
Bruce!

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