Re: pgsql: Add Oracle like handling of char arrays.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Add Oracle like handling of char arrays.
Дата
Msg-id 70ee72e5-8ea5-83d2-90f7-3a2f4640c87a@2ndquadrant.com
обсуждение исходный текст
Ответ на pgsql: Add Oracle like handling of char arrays.  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: pgsql: Add Oracle like handling of char arrays.  (Michael Meskes <meskes@postgresql.org>)
Список 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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Move strtoint() to common
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Support INOUT arguments in procedures