Re: [HACKERS] acl problem in NetBSD/m68k

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: t-ishii(at)sra(dot)co(dot)jp, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] acl problem in NetBSD/m68k
Date: 1999-07-09 03:32:53
Message-ID: 199907090332.XAA06421@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Did we ever fix this?
>
> We agreed what to do: add padding field(s) to struct AclItem and
> add an Assert() somewhere that would check that sizeof(AclItem) is 8,
> while leaving the bulk of the code using sizeof(AclItem) rather than
> a #define constant.
>
> But it doesn't look like it got done yet.

OK, I have added the needed padding, and added an Assert, with comments.

Tatsuo, can you check the problem platform please?

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-07-09 03:34:00 Re: [HACKERS] Delaying insertion of default values
Previous Message Philip Warner 1999-07-09 01:58:57 Re: [HACKERS] Arbitrary tuple size