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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Several fixes to array handling in ecpg.
Date: 2014-04-10 13:44:39
Message-ID: 13513.1397137479@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Michael Meskes <meskes(at)postgresql(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-10 13:57:08 pgsql: C comment: track_activity_query_size doesn't support memory uni
Previous Message Heikki Linnakangas 2014-04-10 10:12:22 pgsql: Fix typo in comment.