diff options
author | Tom Lane | 2010-07-29 19:23:20 +0000 |
---|---|---|
committer | Tom Lane | 2010-07-29 19:23:20 +0000 |
commit | 984d56b80f5a945db2bfa80499b5ed913848242b (patch) | |
tree | 5a41463e04ca67a4a4b2b89cc2b30a109d66ddd8 /doc/src/sgml/oid2name.sgml | |
parent | 5b48e2ecd469380d7ab10e0ea6bc0345dee01dbe (diff) |
Fix another longstanding problem in copy_relation_data: it was blithely
assuming that a local char[] array would be aligned on at least a word
boundary. There are architectures on which that is pretty much guaranteed to
NOT be the case ... and those arches also don't like non-aligned memory
accesses, meaning that log_newpage() would crash if it ever got invoked.
Even on Intel-ish machines there's a potential for a large performance penalty
from doing I/O to an inadequately aligned buffer. So palloc it instead.
Backpatch to 8.0 --- 7.4 doesn't have this code.
Diffstat (limited to 'doc/src/sgml/oid2name.sgml')
0 files changed, 0 insertions, 0 deletions