- 24 Jul, 2006 2 commits
-
-
Andrew Dunstan authored
-
Tom Lane authored
thinking that indexes of different sizes are equally attractive. Per gripe from Jim Nasby. (I remain unconvinced that there's such a problem in existing releases, but CVS HEAD definitely has got a problem because of its new count-only-leaf-pages approach to indexscan costing.)
-
- 23 Jul, 2006 3 commits
-
-
Tom Lane authored
hash tables, instead of the previous kluge involving multiple hash tables. This partially undoes my patch of last December.
-
Tom Lane authored
BufferAlloc tries to insert a new mapping entry before deleting the old one for a buffer, we have a transient need for more than NBuffers entries --- one more in 8.1, and as many as NUM_BUFFER_PARTITIONS more in CVS HEAD. In theory this could lead to an "out of shared memory" failure if shmem had already been completely claimed by the time the extra entries were needed.
-
Tom Lane authored
partitions, as per discussion. Passes functionality checks, but I don't have any performance data yet.
-
- 22 Jul, 2006 4 commits
-
-
Tom Lane authored
to the low-order bits of the entry hash value. Also make some incidental cleanups in the dynahash API, such as not exporting the hash header structs to the world.
-
Tom Lane authored
noticed. Fix SpinlockSemas() to report the correct count considering that PG 8.1 adds a spinlock to each shared-buffer header.
-
Tom Lane authored
effects in a nestloop inner indexscan, I had only dealt with plain index scans and the index portion of bitmap scans. But there will be cache benefits for the heap accesses of bitmap scans too, so fix cost_bitmap_heap_scan() to account for that.
-
Andrew Dunstan authored
-
- 21 Jul, 2006 3 commits
-
-
Peter Eisentraut authored
-built-in mechanism through the -MP flag. Adjust the file extensions to look more like Automake practice. This frees up the .d suffix for use by DTrace.
-
Tom Lane authored
opclass. This is not so much because anyone's likely to create an index on TID, as that sorting TIDs can be useful. Also added max and min aggregates while at it, so that one can investigate the clusteredness of a table with queries like SELECT min(ctid), max(ctid) FROM tab WHERE ... Greg Stark and Tom Lane
-
Tom Lane authored
pg_regress: there's no other way to cope with testing a relocated installation. Seems better to call it --psqldir though, since the only thing we need to find in that case is psql. It'd be better if we could use find_other_exec, but that's not happening unless we are willing to install pg_regress alongside psql, which seems unlikely to happen.
-
- 20 Jul, 2006 8 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
the check on diff's exit status to check for literally 0 or 1. Someone should look into why WIFEXITED/WEXITSTATUS don't work for this, but I've spent more than enough time on it already.
-
Peter Eisentraut authored
-
Tom Lane authored
May help in debugging behavior on Windows.
-
Tom Lane authored
-
Tom Lane authored
not when they're started. This mimics a subtle point of the behavior of the old shell script, and gives better feedback when watching the tests.
-
Tom Lane authored
switches passed from the Makefile. This looks like it will fix problem with virtual vs real paths under msys.
-
Tom Lane authored
recovery. In the first place, it doesn't work because slru's latest_page_number isn't set up yet (this is why we've been hearing reports of strange "apparent wraparound" log messages during crash recovery, but only from people who'd managed to advance their next-mxact counters some considerable distance from 0). In the second place, it seems a bit unwise to be throwing away data during crash recovery anwyway. This latter consideration convinces me to just disable truncation during recovery, rather than computing latest_page_number and pushing ahead.
-
- 19 Jul, 2006 10 commits
-
-
Bruce Momjian authored
-
Neil Conway authored
- Few README fixes - Keep imath Id string, put $PostgreSQL$ separately. Patch from Marko Kreen.
-
Tom Lane authored
just exec instead of creating a subprocess. This reduces process usage from four processes per parallel test to two. I have no idea whether a comparable optimization is possible or useful in the Windows port.
-
Bruce Momjian authored
-
Tom Lane authored
'make install' or 'initdb' fails. Also minor simplification of fgets() usage --- fgets guarantees a trailing null anyway.
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
enthusiastic copy and paste ...
-
Tom Lane authored
This allows it to be used on Windows without installing mingw (though you do still need 'diff'), and opens the door to future improvements such as message localization. Magnus Hagander and Tom Lane.
-
- 18 Jul, 2006 6 commits
-
-
Tom Lane authored
with symlinks. Noted while trying to use rmtree in new C-code pg_regress.
-
Bruce Momjian authored
"DESCRIPTION", which is actually only allowed for device drivers. The compilers ignore it with a warning - if we remove them, we get rid of the warning. Magnus Hagander
-
Bruce Momjian authored
-
Bruce Momjian authored
o -Display IN, INOUT, and OUT parameters in \df
-
Bruce Momjian authored
-
Tom Lane authored
code to forcibly drop regressuser[1-4] and regressgroup[1-2]. Instead, let the privileges.sql test do that for itself (this is made easy by the recent addition of DROP ROLE IF EXISTS). Per a recent patch proposed by Joachim Wieland --- the rest of his patch is superseded by the rewrite into C, but this is a good idea we should adopt.
-
- 17 Jul, 2006 2 commits
-
-
Bruce Momjian authored
-
Neil Conway authored
(OUT or INOUT) of the function. Patch from David Fetter, editorialization by Neil Conway.
-
- 16 Jul, 2006 2 commits
-
-
Neil Conway authored
don't include a space between the function name and the parenthesis that begins its parameter list, for consistency.
-
Tom Lane authored
HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN. Per results of pgcheckdefines.
-