Thread: Alignment fix

Alignment fix

From
Bruce Momjian
Date:
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@candle.pha.pa.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)