agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Eric de Jonge <ejonge@tpd.tno.nl>
To: post list <postgres@postgres.Berkeley.EDU>
Cc: Eric de Jonge <ejonge@tpd.tno.nl>
Subject: dynamic linking in version 4.2
Date: Thu, 28 Apr 1994 19:48:42 +0200 (MET DST)
Message-ID: <9404281748.AA20653@tpdbbs.local> (raw)

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




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: ejonge@tpd.tno.nl
  Subject: Re: dynamic linking in version 4.2
  In-Reply-To: <9404281748.AA20653@tpdbbs.local>

* 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