- 15 Jun, 2010 6 commits
-
-
Tom Lane authored
columns correctly. In passing, get rid of some dead logic in the underlying get_sql_insert() etc functions --- there is no caller that will pass null value-arrays to them. Per bug report from Robert Voinea.
-
Robert Haas authored
In particular, note that autovacuum does not yet understand that it might need to vacuum inheritance parents as a result of changes to the child tables.
-
Tom Lane authored
dblink_build_sql_insert() and related functions. In particular, be sure to reject references to dropped and out-of-range column numbers. The numbers are still interpreted as physical column numbers, though, for backward compatibility. This patch replaces Joe's patch of 2010-02-03, which handled only some aspects of the problem.
-
Andrew Dunstan authored
-
Itagaki Takahiro authored
description for vacuum_defer_cleanup_age to the correct category. Sections in postgresql.conf are also sorted in the same order with docs. Per gripe by Fujii Masao, suggestion by Heikki Linnakangas, and patch by me.
-
Bruce Momjian authored
Ruprecht on Mac (64 bit).
-
- 14 Jun, 2010 10 commits
-
-
Tom Lane authored
lock the target relation just once per SQL function call. The original coding obtained and released lock several times per call. Aside from saving a not-insignificant number of cycles, this eliminates possible race conditions if someone tries to modify the relation's schema concurrently. Also centralize locking and permission-checking logic. Problem noted while investigating a trouble report from Robert Voinea --- his problem is still to be fixed, though.
-
Bruce Momjian authored
-
Simon Riggs authored
-
Simon Riggs authored
-
Simon Riggs authored
standalone utility for removing files from archive.
-
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.
-
Robert Haas authored
As suggested by Ian Barwick.
-
Robert Haas authored
-
Itagaki Takahiro authored
in waiting status. The parameter is not so interesting in ps display because it is referable in postgresql.conf.
-
- 13 Jun, 2010 1 commit
-
-
Robert Haas authored
The previous coding failed for OIDs too large to be represented by a signed integer.
-
- 12 Jun, 2010 11 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Jan Urba?ski
-
Bruce Momjian authored
-
Bruce Momjian authored
than in a subdirectory of the $HOME directory, or $TMP in Windows.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
- 11 Jun, 2010 2 commits
-
-
Tom Lane authored
--analyze-only switch did not work in its short form -Z. Josh Berkus
-
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.
-
- 10 Jun, 2010 6 commits
-
-
Bruce Momjian authored
Josh Berkus
-
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.
-
- 09 Jun, 2010 4 commits
-
-
Robert Haas authored
-
Alvaro Herrera authored
constraints Dean Rasheed
-
Alvaro Herrera 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.
-