pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Stefan Lindner <lindner@visionet.de>
Cc: pgsql-patches@postgresql.org
Cc: pgsql-odbc@postgresql.org
Subject: Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8
Date: Thu, 20 Jun 2002 17:15:15 -0400 (EDT)
Message-ID: <200206202115.g5KLFFj19080@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.30.0204151436310.834-100000@peter.localdomain>


Did we ever get a reply to this from the ODBC folks?

---------------------------------------------------------------------------

Peter Eisentraut wrote:
> I think we should get rid of the _init and _fini functions altogether,
> because Solaris is not the only platform where this is a problem.
> Evidently, there are already workarounds in place in case they don't work,
> so it shouldn't be a problem to remove them.  Let's see what the ODBC guys
> say.
> 
> Stefan Lindner writes:
> 
> > Hi,
> >
> > PostgreSQL works well with this combination but with one modification:
> >
> > It will not compile with SunC Version 5.3 (no experience with other
> > versions) unless
> > you make the following change in file psqlodbc.c: remove the functions
> > "_init" and "_fini". The crt.o library of Sun's C compiler contains this
> > functions.
> > This could be done by adding lines like
> >
> > 	#if !defined (__SUNPRO_C)
> > 	...
> > 	#endif
> >
> > The attachement is a modified version of psqlodbc according to this
> > suggestion
> >
> >
> > Stefan Lindner
> > ---
> > Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen
> > Tel.: 09131/691230, FAX:09131/691111
> > mailto:lindner@visionet.de, http://www.visionet.de
> >
> > Beware of bugs in the above code; I have only proved it correct, not
> > tried it. (Donald E. Knuth)
> >
> 
> -- 
> Peter Eisentraut   peter_e@gmx.net
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (10+ messages)  latest in thread

Message-ID: <200206202115.g5KLFFj19080@candle.pha.pa.us>
Permalink:  ../200206202115.g5KLFFj19080@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200206202115.g5KLFFj19080@candle.pha.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pgman@candle.pha.pa.us, peter_e@gmx.net, lindner@visionet.de, pgsql-patches@postgresql.org
  Subject: Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8
  In-Reply-To: <200206202115.g5KLFFj19080@candle.pha.pa.us>
  References: <Pine.LNX.4.30.0204151436310.834-100000@peter.localdomain> <200206202115.g5KLFFj19080@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox