From: | Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> |
---|---|
To: | Michael Lemke <lemkemch(at)t-online(dot)de> |
Cc: | cygwin(at)cygwin(dot)com, Pgsql-Ports <pgsql-ports(at)postgresql(dot)org> |
Subject: | Re: Postgres 7.1RC4 ecpg can't find sqlca |
Date: | 2001-04-16 16:24:52 |
Message-ID: | 20010416122452.H275@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-ports |
On Sat, Apr 14, 2001 at 12:25:37PM +0200, Michael Lemke wrote:
> 4/14/01 00:08:14, Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> wrote:
> >On Fri, Apr 13, 2001 at 11:02:23PM +0200, Michael Lemke wrote:
> >> With the latest postgres release that came lately with cygwin I made my
> >> very first attempt at writng an ESQL program (actually, at the moment it
> >> is just something I dowloaded). Now when I link it can't find sqlca:
> >
> >I believe that the above is a bug in sqlca.h. My WAG (without actually
> >trying this) is that the above should be replaced by the following:
> >
> >#ifdef __CYGWIN__
> > extern __declspec(dllimport) struct sqlca sqlca;
> >#else
> > extern struct sqlca sqlca;
> >
>
> thanks a lot. That did the trick. I didn't try the one below. It's up
> to the experts to decide which way to go.
Moved to pgsql-cygwin(at)postgresql(dot)org(dot)(dot)(dot)
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2001-04-16 16:31:05 | Re: Postgres 7.1RC4 ecpg can't find sqlca |
Previous Message | Jason Tishler | 2001-04-16 15:14:32 | Cygwin PostgreSQL 7.1-2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2001-04-16 16:31:05 | Re: Postgres 7.1RC4 ecpg can't find sqlca |
Previous Message | Lamar Owen | 2001-04-16 16:16:57 | RPMs for PostgreSQL7.1 available. |