Skip site navigation (1) Skip section navigation (2)

Re: MSVC build scripts status

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: meskes(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Andrew Dunstan <andrew(at)dunslane(dot)net>,PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: MSVC build scripts status
Date: 2007-09-25 13:25:08
Message-ID: 20070925132508.GJ6308@svr2.hagander.net (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Sep 25, 2007 at 02:58:15PM +0200, Michael Meskes wrote:
> On Tue, Sep 25, 2007 at 02:20:34PM +0200, Magnus Hagander wrote:
> > Irrk. The C file is very wrong indeed. Here's the relevant part where it
> > shoudl be declaring 'customer':
> > /* exec sql type customer is struct { #line 12 "array_of_struct.pgc" struct varchar_name_12  { int len; char arr[ 50 ]; }  name    ; #line 13 "array_of_struct.pgc" int  phone    ; }   */ #line 14 "array_of_struct.pgc"
> > 
> > 
> > (all on one line, in case the MUA wraps it)
> 
> On Linux it's wrapped. But the new line problem is not what's breaking
> the compiler.
> 
> > Seems like the entire definition of the struct is commented out?
> 
> This is indeed the problem. I attach the diff so you see that instead of
> typedef'ing the struct it just comments it out.

Yeah, why didn't I remember we had "expected" files for these :-(
Any idea as to *why* it's doing that?

(I'm not getting any warnings or anything when building ecpg that could be
an obvious place to start)

//Magnus

In response to

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2007-09-25 13:56:46
Subject: Turn off vacuum in pgbench?
Previous:From: Kenneth MarshallDate: 2007-09-25 13:17:16
Subject: Re: Hash index todo list item

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group