From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Meskes <meskes@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add Oracle like handling of char arrays.
Date: Wed, 14 Mar 2018 11:46:55 -0400
Message-ID: <70ee72e5-8ea5-83d2-90f7-3a2f4640c87a@2ndquadrant.com> (raw)
In-Reply-To: <E1evuQi-0002ok-Ei@gemulon.postgresql.org>
References: <E1evuQi-0002ok-Ei@gemulon.postgresql.org>
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
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-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, meskes@postgresql.org
Subject: Re: pgsql: Add Oracle like handling of char arrays.
In-Reply-To: <70ee72e5-8ea5-83d2-90f7-3a2f4640c87a@2ndquadrant.com>
References: <E1evuQi-0002ok-Ei@gemulon.postgresql.org> <70ee72e5-8ea5-83d2-90f7-3a2f4640c87a@2ndquadrant.com>
* 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