Re: 7.5 beta version

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dann Corbit <DCorbit(at)connx(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.5 beta version
Date: 2004-04-12 12:35:16
Message-ID: 8657.1081773316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jeroen T. Vermeulen" <jtv(at)xs4all(dot)nl> writes:
> On Sun, Apr 11, 2004 at 10:21:30PM -0400, Bruce Momjian wrote:
>> I was not sure if Win32 had standard alignment for C.

> Good point. There's standards, and then there's Windows. It's possible
> that separate "tight-packing" and "regular" pragmas are used there, just
> for structs that are expected to be used across linkage boundaries.

"#pragma pack" is one of the worst, most dangerous inventions in the
history of software development :-(. However, I don't think we should
be at any great risk from it, since we don't use it in our own code.
The case that's really hazardous is where you have separately compiled
libraries interfacing through nontrivial struct declarations... I still
have the scars from making libjpeg do things that way...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message pgsql 2004-04-12 12:45:46 Re: PostgreSQL configuration
Previous Message Fabien COELHO 2004-04-12 12:22:51 user-defined default public acl