BUG #2091: ecpglib.h needs to be updated....

From: "Chuck Wegrzyn" <lists(at)garbagedump(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2091: ecpglib.h needs to be updated....
Date: 2005-12-02 15:02:33
Message-ID: 20051202150233.69276F0BA3@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2091
Logged by: Chuck Wegrzyn
Email address: lists(at)garbagedump(dot)com
PostgreSQL version: 8.1.0
Operating system: Linux
Description: ecpglib.h needs to be updated....
Details:

There are a number of places in function prototypes of ECPGdo, ECPGprepare
and ECPGdeallocate where 'char *' should be changed to 'const char *'. I am
sure the other functions have similar problems.

In trying to get my make's to work cleanly (no spurious warnings), I put
-fwriteable-string as an option. But this is a deprecated option in gcc,
which spits out a complaint. So the only way to stop the madness is to cast
the function prototypes correctly. Is this a possibility for the next
release (or is it in there already)?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-12-02 16:03:50 Re: BUG #2085: pg_dump incompletely dumps ACLs
Previous Message Arjen van der Meijden 2005-12-02 14:25:49 Re: BUG #2075: Strange choice of bitmap-index-scan