Make pgsql compile on FreeBSD-alpha.
Bruce Momjian <bruce@momjian.us>
Make pgsql compile on FreeBSD-alpha. Context diff this time. Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386. Compile with only -O on alpha for codegen safety. Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD. Fix a lot of bogus string formats for outputting pointers (cast to int and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now cast to 'unsigned long' and output with %lu/ Remove an unused variable. Alfred Perlstein
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/indextuple.c | modified | +3 −2 |
| src/backend/access/heap/hio.c | modified | +5 −4 |
| src/backend/access/nbtree/nbtinsert.c | modified | +3 −3 |
| src/backend/access/nbtree/nbtsort.c | modified | +3 −3 |
| src/backend/access/transam/xlog.c | modified | +1 −2 |
| src/backend/commands/vacuum.c | modified | +9 −8 |
| src/backend/main/main.c | modified | +2 −2 |
| src/backend/nodes/outfuncs.c | modified | +10 −10 |
| src/backend/storage/buffer/s_lock.c | modified | +5 −5 |
| src/backend/utils/mmgr/aset.c | modified | +7 −7 |
| src/bin/psql/print.c | modified | +2 −2 |
| src/include/port/freebsd.h | modified | +6 −3 |
| src/interfaces/libpq/fe-misc.c | modified | +6 −6 |
| src/template/freebsd | modified | +7 −1 |