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

Re: MSVC build scripts status

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: 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-26 11:07:04
Message-ID: 20070926110704.GB26965@feivel.credativ.de (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Sep 25, 2007 at 03:25:08PM +0200, Magnus Hagander wrote:
> > > /* 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"
> > > ...
> > > Seems like the entire definition of the struct is commented out?
> ...
> Any idea as to *why* it's doing that?

This might be too simple but are you sure ecpg is called with option
"-c" when compiling array_of_struct.pgc? It is listed that way in the
Makefile, however lacking this option should generate exactly the file
you sent.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2007-09-26 11:15:21
Subject: Re: MSVC build scripts status
Previous:From: Michael MeskesDate: 2007-09-26 10:57:27
Subject: Re: Thread-safe PREPARE in ecpg

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