Re: ecpg long int problem on alpha + fix

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Postgresql <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg long int problem on alpha + fix
Date: 2001-04-05 05:41:08
Message-ID: 3ACC0574.5CF82C8@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Could you please try to just remove the cpp flag? Also I wonder why you are
> using "long long int" instead of just "long int" in your C program. Well
> that is the people who complained to you.

Yes, dropping the CPP flags solves the problem for us. I assume all
platforms have long long now?

We used long long as this seems to be pretty consistently 64 bits on
different platforms, and our code runs on Tru64, PC linux and openBSD.
It also agrees with the CORBA type naming for 64 bit ints, so it makes
the type naming more consistent.

Thanks,

Adriaan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-04-05 05:59:27 Re: ecpg long int problem on alpha + fix
Previous Message Mikheev, Vadim 2001-04-05 01:31:21 RE: [BUGS] Loosing files after backend crash