Return-Path: owner-postman 
Delivery-Date: Thu, 28 Apr 94 15:31:55 -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 LAA15767 for postgres-redist; Thu, 28 Apr 1994 11:56:18 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199404281856.LAA15767@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.149.14]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id LAA15757 for <postgres@postgres.Berkeley.EDU>; Thu, 28 Apr 1994 11:56:17 -0700
Received: from localhost (localhost [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.4/8.1B) with SMTP id LAA12443; Thu, 28 Apr 1994 11:56:11 -0700
Message-Id: <199404281856.LAA12443@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: ejonge@tpd.tno.nl (Eric de Jonge)
Cc: postgres@postgres.Berkeley.EDU (post list)
Subject: Re: dynamic linking in version 4.2 
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
In-reply-to: Your message of Thu, 28 Apr 1994 19:48:42 +0200 (MET DST) 
	     <9404281748.AA20653@tpdbbs.local> 
Date: Thu, 28 Apr 94 11:56:11 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Thu, 28 Apr 94 11:56:18 -0700
Resent-XMts: smtp

ejonge@tpd.tno.nl (Eric de Jonge) writes:
> DYNAMIC LINKING ISN'T WORKING?

would you mind not yelling?  thanks.

> % cc -c -g -G 0 -I/postgres/src/backend circle.c

> * define function circle_out
> (language="c", returntype = any)
> arg is (circle)
          ^^^^^^
this is wrong.  if i missed this in the user manual i apologize
(i'll check it out) but the right syntax is given in the ref manual 
and the regression tests.

i don't know why the argument type has to be "any" for circle_out.
(there's probably a good reason but i don't know what it is.)

in general if some piece of syntax from a paper or manual doesn't 
work, the regression tests contain examples that do work, so (hot 
tip) look in there for instant gratification.  i did try to test
out everything in the user manual but evidently missed some parts.
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki

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

