- 18 Jul, 1998 3 commits
-
-
Bruce Momjian authored
GCC, the inner "#if defined(__GNUC__)" can just be omitted in that architecture's block. The existing arrangement with an outer "#if defined(__GNUC__)" doesn't have any obvious benefit, and it encourages missed cases like this one. BTW, I'd suggest making the definition of clear_lock for HPUX be static const slock_t clear_lock = {{-1, -1, -1, -1}}; The extra braces are needed to suppress warnings from gcc, and declaring it const just seems like good practice. regards, tom lane
-
Bruce Momjian authored
but as I don't have access to a sparc for testing I just did what I could. I am guessing here, but please apply the following to your pgsql and let me know what happens. Also, cd to src/storage/buffer and do 'make s_lock_test' as well. David Gould
-
Bruce Momjian authored
-
- 17 Jul, 1998 1 commit
-
-
Bruce Momjian authored
-
- 16 Jul, 1998 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 15 Jul, 1998 6 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
members to be clearer. Fix cost computation for these.
-
- 14 Jul, 1998 6 commits
-
-
Thomas G. Lockhart authored
SELECT 1 UNION SELECT NULL;
-
Thomas G. Lockhart authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 13 Jul, 1998 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
requires manual editing of src/backend/port/getrusage.c, because its substitute version of getrusage is #if'd out. There is no good reason for that, because configure won't even include the file into the Makefile unless the platform hasn't got getrusage. Furthermore, we only have one working substitute version of getrusage --- the alleged HPUX syscall-based code doesn't work. (It causes a coredump because the syscall returns a struct rusage that's much larger than the stub struct defined in src/include/rusagestub.h.) The times()-based emulation works fine on HPUX, however. I propose, therefore, that getrusage.c should just unconditionally compile the times-based version, and rely on configure to include the file only if needed. This will be one less manual configuration step on all platforms that need this code. Patch attached. Tom Lane.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 12 Jul, 1998 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 11 Jul, 1998 1 commit
-
-
Thomas G. Lockhart authored
-
- 09 Jul, 1998 8 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
Move from last test in list up to other "select_xxx" tests.
-
Thomas G. Lockhart authored
-