Alignment fix

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Alignment fix
Date: 1998-09-07 05:37:35
Message-ID: 199809070537.BAA06123@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have just applied a patch to centralize the attribute alignment and
size computations in two new macros, att_align() and att_addlength().

This removes many switch statements that performed this task.

It probably does not change any functionality, but I was uncertain that
all the alignment was being handled in the same way, and with this patch
I guarantee it.

Please test the index problem to see if anything has changed. My
regression tests show no changes from the patch, but I don't see the
index problem here.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1998-09-07 07:56:57 Re: [HACKERS] SIGSEGV in 'select * from pg_user'
Previous Message Thomas G. Lockhart 1998-09-07 00:37:46 Re: [HACKERS] SIGSEGV in 'select * from pg_user'