From: | "Stefan Lindner" <lindner(at)visionet(dot)de> |
---|---|
To: | <pgsql-patches(at)postgresql(dot)org> |
Subject: | PostgreSQL 7.2.1 and Sun's C compiler under Solaris8 |
Date: | 2002-04-12 20:29:52 |
Message-ID: | F0D462FEDF25E64284B201EA9E82AEF105AA8D@boss.visionet.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc pgsql-patches |
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(at)visionet(dot)de, http://www.visionet.de
Beware of bugs in the above code; I have only proved it correct, not
tried it. (Donald E. Knuth)
Attachment | Content-Type | Size |
---|---|---|
psqlodbc.c | application/octet-stream | 2.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thanner Rodrigo Almeida | 2002-04-13 01:18:25 | ERROR: |
Previous Message | Johann Zuschlag | 2002-04-12 11:01:04 | Re: Error SQLFETCH - access violation - fixed |
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-04-13 18:48:14 | TOAST index naming consistency |
Previous Message | Bruce Momjian | 2002-04-11 05:35:39 | Re: FW: [HACKERS] decode() function for PostgreSQL |