agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Fwd: Re:  Calling it a day
Date: Mon, 02 May 2011 14:02:14 -0000
Message-ID: <op.vuuw90lkuxs6vk@localhost> (raw)
In-Reply-To: <4DBB59FD.6050607@ejurka.com>
References: <4DBB58FD.3090004@gmail.com>
	<4DBB59FD.6050607@ejurka.com>

On Sat, 30 Apr 2011 00:38:21 -0000, Kris Jurka <books at ejurka.com> wrote:

> A missing reference to DatumGetFloat8 implies that the server was built  
> with float8 pass by value and pljava was built with float8 pass by  
> reference.

Both the Enterprise DB and my header files define the DatumGetFloat8
in the same way:

Enterprise DB:
server/postgres.h:#define DatumGetFloat8(X) (* ((float8 *)  
DatumGetPointer(X)))

My cross compiled binary:
server/postgres.h:#define DatumGetFloat8(X) (* ((float8 *)  
DatumGetPointer(X)))

However, when I preprocess Double.c, which does reference it, I get:
extern float8 DatumGetFloat8(Datum X);

I guess something in the PL/Java build system is broken for 64 bit
Windows.  That's what I'm hunting down now.

-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/




view thread (16+ messages)  latest in thread

Message-ID: <op.vuuw90lkuxs6vk@localhost>
Permalink:  ../op.vuuw90lkuxs6vk@localhost/
Also on:    postgresql.org/message-id/op.vuuw90lkuxs6vk@localhost

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Fwd: Re:  Calling it a day
  In-Reply-To: <op.vuuw90lkuxs6vk@localhost>

* 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