- 16 Feb, 2010 2 commits
-
-
Michael Meskes authored
By Zoltán Böszörményi
-
Itagaki Takahiro authored
-
- 15 Feb, 2010 9 commits
-
-
Alvaro Herrera authored
and move the context information into errcontext instead of errmsg. This makes them better conform to our guidelines. Also remove a few errcode declarations that were providing the default value ERRCODE_INTERNAL_ERROR.
-
Peter Eisentraut authored
-
Magnus Hagander authored
Jan Urbanski
-
Alvaro Herrera authored
-
Greg Stark authored
until we can work out portability issues the build farm uncovered. In passing avoid fsyncing subdirectories twice.
-
Itagaki Takahiro authored
-
Itagaki Takahiro authored
Also adjust documentation of DO. Patch from David Fetter and subsequent discussion.
-
Greg Stark authored
Display explain buffers measurements in memory units rather than blocks. Also show "Total Buffer Usage" to hint that these are totals not averages per loop
-
Greg Stark authored
all the data and using posix_fadvise to nudge the OS into flushing it earlier. This also hopefully makes CREATE DATABASE avoid spamming the cache. Tests show a big speedup on Linux at least on some filesystems. Idea and patch from Andres Freund.
-
- 14 Feb, 2010 5 commits
-
-
Robert Haas authored
The purpose of this change is to eliminate the need for every caller of SearchSysCache, SearchSysCacheCopy, SearchSysCacheExists, GetSysCacheOid, and SearchSysCacheList to know the maximum number of allowable keys for a syscache entry (currently 4). This will make it far easier to increase the maximum number of keys in a future release should we choose to do so, and it makes the code shorter, too. Design and review by Tom Lane.
-
Greg Stark authored
directory and not just the individual files. Back-patch to 8.1 -- before that we just called "cp -r" and never fsynced anything anyways.
-
Magnus Hagander authored
prefix, instead of assuming it will always be following the default layout. All information we need is not available on Windows, but the number of assumptions are at least fewer this way than before. Based on suggestions from James William Pye.
-
Tom Lane authored
-
Tom Lane authored
-
- 13 Feb, 2010 8 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
defined. Its reference to CurrentMemoryContext causes link failures on some platforms, evidently because the inline function gets compiled despite lack of use. Per buildfarm member warthog.
-
Simon Riggs authored
Message is reset earlier and potential bug avoided. Andres Freund
-
Simon Riggs authored
where a database has a non-default tablespaceid. Pass thru MyDatabaseId and MyDatabaseTableSpace to allow file path to be re-created in standby and correct invalidation to take place in all cases. Update and rework xact_commit_desc() debug messages. Bug report from Tom by code inspection. Fix by me.
-
Bruce Momjian authored
-
Tom Lane authored
compilers, by applying a configure check to see if the compiler will accept an unreferenced "static inline foo ..." function without warnings. It is believed that such warnings are the only reason not to declare inlined functions in headers, if the compiler understands "inline" at all. Kurt Harriman
-
Simon Riggs authored
process. If startup waits on a buffer pin we send a request to all backends to cancel themselves if they are holding the buffer pin required and they are also waiting on a lock. If not, startup waits until max_standby_delay before cancelling any backend waiting for the requested buffer pin.
-
Simon Riggs authored
resolution during Hot Standby. Page reuse interlock requested by Tom. Analysis and patch by me.
-
- 12 Feb, 2010 11 commits
-
-
Tom Lane authored
before we start analyzing the parent statement. This is to make it more clear that the WITH isn't affected by anything in the parent. I don't believe there's any actual bug here, because the stuff that was being done before WITH didn't affect subqueries; but it's certainly a potential for error (and apparently misled Marko into committing some real errors...).
-
Andrew Dunstan authored
-
Tom Lane authored
that happens to be composite itself. Per bug #5314 from Oleg Serov. Backpatch to 8.0 --- 7.4 has got too many other shortcomings in composite-type support to make this worth worrying about in that branch.
-
Andrew Dunstan authored
Add plperl.on_plperl_init and plperl.on_plperlu_init settings for language-specific startup. Rename recently added plperl.on_perl_init to plperl.on_init. Also, code cleanup for utf8 hack. Patch from Tim Bunce, reviewed by Alex Hunsaker.
-
Tom Lane authored
This patch allows the frame to start from CURRENT ROW (in either RANGE or ROWS mode), and it also adds support for ROWS n PRECEDING and ROWS n FOLLOWING start and end points. (RANGE value PRECEDING/FOLLOWING isn't there yet --- the grammar works, but that's all.) Hitoshi Harada, reviewed by Pavel Stehule
-
Heikki Linnakangas authored
messages printed at startup. As pointed out by Simon Riggs.
-
Heikki Linnakangas authored
echo all the recovery.conf options. Don't emit the "initializing recovery connections" message, which doesn't mean anything to a user. Remove the "starting archive recovery" message and replace the "automatic recovery in progress" message with a more informative message saying whether the server is doing PITR, normal archive recovery, or standby mode.
-
Heikki Linnakangas authored
needs to be done, but it's a step forward..
-
Heikki Linnakangas authored
connection.
-
Heikki Linnakangas authored
a partial WAL file, assume it's because the file is just being copied to the archive and treat it the same as "file not found" in standby mode. pg_standby has a similar check, so it seems reasonable to have the same level of protection in the built-in standby mode.
-
Andrew Dunstan authored
-
- 11 Feb, 2010 3 commits
-
-
Tom Lane authored
-
Simon Riggs authored
into code recently patched by Andres Freund, so quickly fixed by him when bug report from Tatsuo Ishii arrived.
-
Teodor Sigaev authored
several places, but for now only GIN uses it during index creation. Using self-balanced tree greatly speeds up index creation in corner cases with preordered data.
-
- 10 Feb, 2010 2 commits
-
-
Heikki Linnakangas authored
restoring from archive, the last WAL segment is not necessarily open at the end of recovery. Fix assertion that assumed that. Fujii Masao, fixing the assertion failure reported by Martin Pihlak.
-
Tom Lane authored
The previous coding missed a bet by sometimes picking the "sorted" path from query_planner even though hashing would be preferable. To fix, we have to be willing to make the choice sooner. This contorts things a little bit, but I thought of a factorization that makes it not too awful.
-