Thread

  1. solaris sparc 64bit binary release

    John R Pierce <pierce@hogranch.com> — 2010-04-16T02:31:26Z

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    </head>
    <body bgcolor="#ffffff" text="#000000">
    <tt>the 8.4.3 binary </tt><tt>tarball </tt><tt>for solaris sparc
    64bit on postgresql.com was shipped with the 32bit includes and the
    Makefile fragments from 8.4-community/lib/64/pgxs/src/ <br>
    <br>
    I'm specifically hitting this contradition:<br>
    <br>
    &nbsp;&nbsp;&nbsp; $ grep FLOAT8 include/server/pg_config.h<br>
    &nbsp;&nbsp;&nbsp; #define FLOAT8PASSBYVAL false<br>
    and<br>
    &nbsp;&nbsp;&nbsp; $ pg_controldata /var/postgres/8.4-community/data_64 | grep Float8<br>
    &nbsp;&nbsp;&nbsp; Float8 argument passing:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; by value<br>
    <br>
    <br>
    </tt><tt>For mostly corporate reasons, I need to get some C modules,
    specifically pl/java, working with the binary release: </tt><a
     href="http://www.postgresql.org/ftp/binary/v8.4.3/solaris/solaris10/sparc/">postgresql-8.4.3-S10.sparc-64.tar.bz2</a><tt>&nbsp;
    rather than have to build my own postgres and freak out the data center
    operations guys.</tt><br>
    <br>
    <tt>Is there any chance I can get the correct
    include/server/pg_config.h and lib/64/pgxs/src/Makefile.global from the
    packager, whom I gather is Bjorn Much and has been seen on this
    list?&nbsp;&nbsp;&nbsp; <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    </tt>
    </body>
    </html>
    
    
  2. Re: solaris sparc 64bit binary release

    Bjorn Munch <bjorn.munch@sun.com> — 2010-04-16T09:42:10Z

    On 15/04 19.31, John R Pierce wrote:
    >    the 8.4.3 binary tarball for solaris sparc 64bit on postgresql.com was
    >    shipped with the 32bit includes and the Makefile fragments from
    >    8.4-community/lib/64/pgxs/src/
    >    I'm specifically hitting this contradition:
    >        $ grep FLOAT8 include/server/pg_config.h
    >        #define FLOAT8PASSBYVAL false
    >    and
    >        $ pg_controldata /var/postgres/8.4-community/data_64 | grep Float8
    >        Float8 argument passing:              by value
    
    Ouch, so there are differences in header files between 32 and 64 bit,
    I hadn't taken this into consideration. Haven't seen this problem
    reported before though.
    
    >    Is there any chance I can get the correct include/server/pg_config.h
    >    and lib/64/pgxs/src/Makefile.global from the packager, whom I gather is
    >    Bjorn Much and has been seen on this list?
    
    I will have a look into it.
    
    -- 
    Bjorn Munch      Bjorn.Munch@sun.com
    Sun Microsystems
    Trondheim, Norway
    
    
  3. Re: solaris sparc 64bit binary release

    John R Pierce <pierce@hogranch.com> — 2010-04-17T08:22:55Z

    Bjorn Munch wrote:
    > I will have a look into it.
    >   
    
    as of right now, I suspect what I need are the following files from a 
    recent Solaris 64bit build...
    
        include/server/pg_config.h
        lib/64/pgxs/src/Makefile.global
    
    there are a few more files that could be involved, but AFAIK, they are 
    invariant or don't matter to my plugin builds....