- Jun 14, 2010
-
-
Itagaki Takahiro authored
-
Heikki Linnakangas authored
and retry. If the record is genuinely corrupt in the master database, there's little hope of recovering, but it's better than simply retrying to apply the corrupt WAL record in a tight loop without even trying to retransmit it, which is what we used to do.
-
Itagaki Takahiro authored
in waiting status. The parameter is not so interesting in ps display because it is referable in postgresql.conf.
-
- Jun 13, 2010
-
-
Robert Haas authored
The previous coding failed for OIDs too large to be represented by a signed integer.
-
- Jun 12, 2010
-
-
Bruce Momjian authored
Jan Urba?ski
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Tom Lane authored
--analyze-only switch did not work in its short form -Z. Josh Berkus
-
- Jun 11, 2010
-
-
Heikki Linnakangas authored
string for a streaming replication connection. It's ignored by the server, but allows libpq to pick up the password from .pgpass where "replication" is specified as the database name. Patch by Fujii Masao per Tom's suggestion, with some wording changes by me.
-
- Jun 10, 2010
-
-
Itagaki Takahiro authored
-
Heikki Linnakangas authored
Fujii Masao
-
Heikki Linnakangas authored
pg_last_xlog_replay_location(). Per Robert Haas's suggestion, after Itagaki Takahiro pointed out an issue in the docs. Also, some wording changes in the docs by me.
-
Tom Lane authored
conversion. Per bug #5497 from David Gardner.
-
Robert Haas authored
While my previous attempt seems to always produce valid YAML, it doesn't always produce YAML that means what it appears to mean, because of tokens like "0xa" and "true", which without quotes will be interpreted as integer or Boolean literals. So, instead, just quote everything that's not known to be a number, as we do for JSON. Dean Rasheed, with some changes to the comments by me.
-
- Jun 09, 2010
-
-
Robert Haas authored
-
Heikki Linnakangas authored
checkpoint_timeout to trigger restartpoints. We used to deliberately only do time-based restartpoints, because if checkpoint_segments is small we would spend time doing restartpoints more often than really necessary. But now that restartpoints are done in bgwriter, they're not as disruptive as they used to be. Secondly, because streaming replication stores the streamed WAL files in pg_xlog, we want to clean it up more often to avoid running out of disk space when checkpoint_timeout is large and checkpoint_segments small. Patch by Fujii Masao, with some minor changes by me.
-
Magnus Hagander authored
the current one. Not doing this would leave the walwriter with a handle to a deleted file if there was nothing for it to do for a long period of time, preventing the file from being completely removed. Reported by Tollef Fog Heen, and thanks to Heikki for some hand-holding with the patch.
-
Robert Haas authored
The previous code failed to quote in many cases where quoting was necessary - YAML has loads of special characters, including -:[]{},"'|*& - so quote much more aggressively, and only refrain from quoting things where it seems fairly clear that it isn't necessary. Per report from Dean Rasheed.
-
Tatsuo Ishii authored
-
- Jun 07, 2010
-
-
Tom Lane authored
Fujii Masao
-
Itagaki Takahiro authored
to be initialized with proper values. Affected parameters are fillfactor, analyze_threshold, and analyze_scale_factor. Especially uninitialized fillfactor caused inefficient page usage because we built a StdRdOptions struct in which fillfactor is zero if any reloption is set for the toast table. In addition, we disallow toast.autovacuum_analyze_threshold and toast.autovacuum_analyze_scale_factor because we didn't actually support them; they are always ignored. Report by Rumko on pgsql-bugs on 12 May 2010. Analysis by Tom Lane and Alvaro Herrera. Patch by me. Backpatch to 8.4.
-
- Jun 04, 2010
-
-
Michael Meskes authored
While the values were correctly returned they were not moved into C variables as they should be. Closes: #5489
-
Marc G. Fournier authored
tag 9.0beta2
-
Tom Lane authored
been written out from shared memory, but the previous phrasing might be read to say that we send only what's been fsync'd.
-
Tom Lane authored
and current server clock time to SR data messages. These are not currently used on the slave side but seem likely to be useful in future, and it'd be better not to change the SR protocol after release. Per discussion. Also do some minor code review and cleanup on walsender.c, and improve the protocol documentation.
-
- Jun 03, 2010
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
When referring to postgresql.conf syntax, then it's without quotes (wal_level=archive); in narrative it's with double quotes. But never single quotes.
-
Alvaro Herrera authored
per recent unintended-initdb-forcing fiasco
-
Peter Eisentraut authored
--enable-ssl -> --with-openssl
-
Tom Lane authored
-
Robert Haas authored
Fujii Masao. Review by Heikki Linnakangas and myself.
-
- Jun 02, 2010
-
-
Heikki Linnakangas authored
Fujii Masao
-
- Jun 01, 2010
-
-
Bruce Momjian authored
Greg Sabino Mullane
-
- May 31, 2010
-
-
Bruce Momjian authored
performed by "EXECUTE ... INTO". Jaime Casanova
-
Heikki Linnakangas authored
This was broken by my previous patch to send WAL in smaller batches. Patch by Fujii Masao.
-
- May 30, 2010
-
-
Tom Lane authored
We must filter out hashtable entries with frequencies less than those specified by the algorithm, else we risk emitting junk entries whose actual frequency is much less than other lexemes that did not get tabulated. This is bad enough by itself, but even worse is that tsquerysel() believes that the minimum frequency seen in pg_statistic is a hard upper bound for lexemes not included, and was thus underestimating the frequency of non-MCEs. Also, set the threshold frequency to something with a little bit of theory behind it, to wit assume that the input distribution is approximately Zipfian. This might need adjustment in future, but some preliminary experiments suggest that it's not too unreasonable. Back-patch to 8.4, where this code was introduced. Jan Urbanski, with some editorialization by Tom
-
Tom Lane authored
"val AS name" to "name := val", as per recent discussion. This patch catches everything in the original named-parameters patch, but I'm not certain that no other dependencies snuck in later (grepping the source tree for all uses of AS soon proved unworkable). In passing I note that we've dropped the ball at least once on keeping ecpg's lexer (as opposed to parser) in sync with the backend. It would be a good idea to go through all of pgc.l and see if it's in sync now. I didn't attempt that at the moment.
-
- May 29, 2010
-
-
Bruce Momjian authored
if we ever implement '<>' index opclasses. Jeff Davis
-
- May 28, 2010
-
-
Tom Lane authored
output stream. This typically indicates that the user quit out of $PAGER, or that we are writing to a file and ran out of disk space. In either case we shouldn't bother to continue fetching data. Stephen Frost
-