Re: pgsql: Several fixes to array handling in ecpg.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Several fixes to array handling in ecpg.
Дата
Msg-id 13513.1397137479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Several fixes to array handling in ecpg.  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: pgsql: Several fixes to array handling in ecpg.  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-committers
Michael Meskes <meskes@postgresql.org> writes:
> Several fixes to array handling in ecpg.

This patch is causing almost all of the Windows buildfarm members to
fail with compilation errors, along the lines of

pointer_to_struct.pgc(27): error C2065: 'customer' : undeclared identifier
pointer_to_struct.pgc(27): error C2065: 'custs1' : undeclared identifier
pointer_to_struct.pgc(27): error C2065: 'customer' : undeclared identifier
pointer_to_struct.pgc(27): error C2059: syntax error : ')'
pointer_to_struct.pgc(28): error C2065: 'cust_ind' : undeclared identifier
pointer_to_struct.pgc(28): error C2065: 'inds' : undeclared identifier
pointer_to_struct.pgc(28): error C2065: 'cust_ind' : undeclared identifier
pointer_to_struct.pgc(28): error C2059: syntax error : ')'
pointer_to_struct.pgc(34): error C2275: 'customer2' : illegal use of this type as an expression
          pointer_to_struct.pgc(33) : see declaration of 'customer2'
pointer_to_struct.pgc(34): error C2065: 'custs2' : undeclared identifier
pointer_to_struct.pgc(40): error C2143: syntax error : missing ';' before '<class-head>'
pointer_to_struct.pgc(39): error C2143: syntax error : missing ';' before 'type'
pointer_to_struct.pgc(40): error C2027: use of undefined type 'customer3'
          pointer_to_struct.pgc(40) : see declaration of 'customer3'
pointer_to_struct.pgc(40): error C2099: initializer is not a constant
pointer_to_struct.pgc(46): error C2099: initializer is not a constant
pointer_to_struct.pgc(52): error C2143: syntax error : missing ')' before '('
pointer_to_struct.pgc(52): error C2143: syntax error : missing ')' before 'constant'
pointer_to_struct.pgc(52): error C2091: function returns function
pointer_to_struct.pgc(52): error C2143: syntax error : missing '{' before 'constant'
pointer_to_struct.pgc(52): error C2059: syntax error : '<Unknown>'
pointer_to_struct.pgc(52): error C2059: syntax error : ')'
pointer_to_struct.pgc(54): error C2449: found '{' at file scope (missing function header?)
pointer_to_struct.pgc(55): error C2059: syntax error : '}'
etc etc

No idea why.  It's also interesting that only HEAD seems to be affected.

            regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix typo in comment.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: C comment: track_activity_query_size doesn't support memory uni