agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Bruce Taneja. <aataneja@cs.mtu.edu>
To: postgres@postgres.Berkeley.EDU
Cc: Bruce Taneja. <aataneja@cs.mtu.edu>
Subject: link failed in load of ADT file ..
Date: Tue, 28 Jun 1994 18:47:13 -0400 (EDT)
Message-ID: <9406282247.AA23794@cs.mtu.edu> (raw)



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



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: aataneja@cs.mtu.edu
  Subject: Re: link failed in load of ADT file ..
  In-Reply-To: <9406282247.AA23794@cs.mtu.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