Alignment fix - Mailing list pgsql-hackers

From Bruce Momjian
Subject Alignment fix
Date
Msg-id 199809070537.BAA06123@candle.pha.pa.us
Whole thread Raw
List 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@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)

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] SIGSEGV in 'select * from pg_user'
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] SIGSEGV in 'select * from pg_user'