From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Add Oracle like handling of char arrays. |
Date: | 2018-03-14 15:46:55 |
Message-ID: | 70ee72e5-8ea5-83d2-90f7-3a2f4640c87a@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On 3/13/18 20:38, Michael Meskes wrote:
> Add Oracle like handling of char arrays.
>
> In some cases Oracle Pro*C handles char array differently than ECPG. This patch
> adds a Oracle compatibility mode to make ECPG behave like Pro*C.
Please check these compiler warnings:
char_array.pgc: In function 'main':
char_array.pgc:21:3: error: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
const char *ppppp = "XXXXX";
^~~~~
char_array.pgc: At top level:
char_array.pgc:63:13: error: 'warn' was used with no prototype before
its definition [-Werror=missing-prototypes]
static void warn(void)
^~~~
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2018-03-14 16:09:33 | pgsql: Support INOUT arguments in procedures |
Previous Message | Tom Lane | 2018-03-14 15:23:35 | Re: pgsql: Move strtoint() to common |