aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allow Hot Standby to begin from a shutdown checkpoint.Heikki Linnakangas2010-04-13
| | | | Patch by Simon Riggs & me
* Add "SSD" acronym mention for solid state drive mention.Bruce Momjian2010-04-13
|
* Fix typo.Magnus Hagander2010-04-13
| | | | Fujii Masao
* Only try to do a graceful disconnect if we've successfully loaded theMagnus Hagander2010-04-13
| | | | | | | shared library with the disconnect function in it. Fixes segmentation fault reported by Jeff Davis. Fujii Masao
* Remove example of archive_command from configure section; instead haveBruce Momjian2010-04-12
| | | | | users look at the referenced section for examples, per idea from Greg Smith.
* Spell out full archive directory specification in 'test -f' continuousBruce Momjian2010-04-12
| | | | archiving example, per suggestion from Greg Smith.
* Update the location of last removed WAL segment in shared memory onlyHeikki Linnakangas2010-04-12
| | | | | | | after actually removing one, so that if we can't remove segments because WAL archiving is lagging behind, we don't unnecessarily forbid streaming the old not-yet-archived segments that are still perfectly valid. Per suggestion from Fujii Masao.
* Need to use the start pointer of a block we read from WAL segment inHeikki Linnakangas2010-04-12
| | | | the calculation, not the end pointer, as pointed out by Fujii Masao.
* Adjust paragraph about monitoring streaming replication, now that we haveHeikki Linnakangas2010-04-12
| | | | standby_keep_segments.
* Change the logic to decide when to delete old WAL segments, so that itHeikki Linnakangas2010-04-12
| | | | | | | | | | doesn't take into account how far the WAL senders are. This way a hung WAL sender doesn't prevent old WAL segments from being recycled/removed in the primary, ultimately causing the disk to fill up. Instead add standby_keep_segments setting to control how many old WAL segments are kept in the primary. This also makes it more reliable to use streaming replication without WAL archiving, assuming that you set standby_keep_segments high enough.
* Perltidy run over the MSVC build system files, to clean up code formattingMagnus Hagander2010-04-09
| | | | and indentation styles.
* Clean up inconsistent commasMagnus Hagander2010-04-09
|
* Update list of Windows timezones we try to match localized names againstMagnus Hagander2010-04-09
| | | | to one that's up to date with Windows 2003R2.
* Proceed to look for the next timezone when matching a localizedMagnus Hagander2010-04-08
| | | | | | | | | | Windows timezone name where the information in the registry is incomplete, instead of aborting. This fixes cases when the registry information is incomplete for a timezone that is alphabetically before the one that is in use. Per report from Alexander Forschner
* Make smart shutdown work in combination with Hot Standby/Streaming Replication.Robert Haas2010-04-08
| | | | | | | | | | At present, killing the startup process does not release any locks it holds, so we must wait to stop the startup and walreceiver processes until all read-only backends have exited. Without this patch, the startup and walreceiver processes never exit, so the server gets permanently stuck in a half-shutdown state. Fujii Masao, with review, docs, and comment adjustments by me.
* Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works,Tom Lane2010-04-07
| | | | | | | rather than only sort-of working as the previous attempt had left it. Clean up some unnecessary differences between the way these were coded and the way the YYYY case was coded. Update the regression test cases that proved that it wasn't working.
* Allow quotes to be escaped in recovery.conf, by doubling them. This patchHeikki Linnakangas2010-04-07
| | | | | also makes the parsing a little bit stricter, rejecting garbage after the parameter value and values with missing ending quotes, for example.
* Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() duringHeikki Linnakangas2010-04-07
| | | | | | recovery. We might want to relax this in the future, but ThisTimeLineID isn't currently correct in backends during recovery, so the filename returned was wrong.
* psql tab completion for ALTER DEFAULT PRIVILEGES and USER MAPPING FOR PUBLIC.Itagaki Takahiro2010-04-07
|
* Add cygwin version check before using cygwin_conv_path(),Itagaki Takahiro2010-04-07
| | | | and use cygwin_conv_to_full_win32_path() in older versions.
* Log the actual timezone name that we fail to look up the values for inMagnus Hagander2010-04-06
| | | | | case the registry data doesn't follow the format we expect, to facilitate debugging.
* Further message changes when recovery.conf parameters missing.Simon Riggs2010-04-06
|
* Rename "Log-streaming replication parameters" header to "Standby serverHeikki Linnakangas2010-04-06
| | | | | | parameters" in recovery.conf, to match the grouping in the documentation. Fujii Masao
* Change some debug ereports to elogs, as requested by translation team.Simon Riggs2010-04-06
|
* Reword exclusion constriants to mention that the operator can returnBruce Momjian2010-04-06
| | | | false or null, per Tom.
* Assorted tab-completion improvements in psql.Itagaki Takahiro2010-04-05
| | | | | | | | | | | | | | | Add missing completions for: - ALTER SEQUENCE name OWNER TO - ALTER TYPE name RENAME TO - ALTER VIEW name ALTER COLUMN - ALTER VIEW name OWNER TO - ALTER VIEW name SET SCHEMA Fix wrong completions for: - ALTER FUNCTION/AGGREGATE name (arguments) ... "(arguments)" has been ignored. - ALTER ... SET SCHEMA "SCHEMA" has been considered as a variable name.
* Exclude unwanted typedef symbols in pgindent, including FD_SET which is ↵Andrew Dunstan2010-04-05
| | | | found on some Windows platforms. Also, silence unnecessary messages and make awk happier about literal '*' on some platforms.
* Clean up description of 9.0's incompatible changes in SIMILAR TO andTom Lane2010-04-05
| | | | SQL-style substring().
* Make dmetaphone.c safe for pgindent and fussy compilers. Still to do: make ↵Andrew Dunstan2010-04-05
| | | | it properly encoding aware w.r.t. chars U+00C7 and U+00D1.
* Use a new API rather than a deprecated one in in cygwin.Itagaki Takahiro2010-04-05
| | | | cygwin_conv_to_full_win32_path should be replaced with cygwin_conv_path.
* Arrange to remove pg_default_acl entries completely if their ACL settingTom Lane2010-04-05
| | | | | | | | is changed to match the hard-wired default. This avoids accumulating useless catalog entries, and also provides a path for dropping the owning role without using DROP OWNED BY. Per yesterday's complaint from Jaime Casanova, the need to use DROP OWNED BY for that is less than obvious, so providing this alternative method might save some user frustration.
* Fix updateAclDependencies() to not assume that ACL role dependencies can onlyTom Lane2010-04-05
| | | | | | | | | | be added during GRANT and can only be removed during REVOKE; and fix its callers to not lie to it about the existing set of dependencies when instantiating a formerly-default ACL. The previous coding accidentally failed to malfunction so long as default ACLs contain only references to the object's owning role, because that role is ignored by updateAclDependencies. However this is obviously pretty fragile, as well as being an undocumented assumption. The new coding is a few lines longer but IMO much clearer.
* Improve phrasing of warning message for NOTIFY queue getting too full.Tom Lane2010-04-05
| | | | Per gripe from Peter.
* Minor wording improvement.Tom Lane2010-04-03
|
* \ddp should be recognized as such even if user appends S or + to it.Tom Lane2010-04-03
| | | | | | Those options do nothing right now, but might be wanted later, and in any case it's confusing for the command to be interpreted as \dd if anything is appended. Per Jaime Casanova.
* Make ecpg in line with other compilers in that it deletes its output if ↵Michael Meskes2010-04-03
| | | | | | there was an error processing the input file. Work done by Zoltan.
* Message quoting style tuningPeter Eisentraut2010-04-03
|
* Clarify documentation of to_char EEEE patternPeter Eisentraut2010-04-03
|
* Remove unnecessary xref endterm attributes and title idsPeter Eisentraut2010-04-03
| | | | | | | | | The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects.
* Allow for more room in the man page title, so thatPeter Eisentraut2010-04-03
| | | | "CREATE TEXT SEARCH CONFIGURATION" is not truncated.
* Check compulsory parameters in recovery.conf in standby_mode, per docs.Simon Riggs2010-04-02
|
* Clarify some behaviours of REASSIGN OWNED and DROP OWNED BY.Simon Riggs2010-04-02
|
* Ensure that contrib/pgstattuple functions respond to cancel interruptsTom Lane2010-04-02
| | | | | | reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops. Tatsuhito Kasahara
* Update a number of broken links in comments.Magnus Hagander2010-04-02
| | | | Josh Kupershmidt
* Fix minor typos in comments.Magnus Hagander2010-04-02
| | | | Josh Kupershmidt
* Fix the build and install rules for man pages with SQL section != 7Peter Eisentraut2010-04-02
| | | | | The previous coding failed in various scenarios possibly including vpath builds and doing make install without preceding make all.
* Move system startup message prior to any calls out of data directory.Simon Riggs2010-04-02
| | | | | | | This allows us to see what mode the server is in before it starts to perform actions that can block or hang. Otherwise server messages may not appear until after messages that say FATAL the database server is starting up.
* FATAL errors are meant to stop ecpg immediately, e.g. because the syntax isMichael Meskes2010-04-02
| | | | | corrupted. This error, however, does is not a compilation problem but a runtime one, so we can keep compiling but still have to declare ERROR.
* Don't pass an invalid file handle to dup2(). That causes a crash onHeikki Linnakangas2010-04-01
| | | | | | | | | | | Windows, thanks to a feature in CRT called Parameter Validation. Backpatch to 8.2, which is the oldest version supported on Windows. In 8.2 and 8.3 also backpatch the earlier change to use DEVNULL instead of NULL_DEV #define for a /dev/null-like device. NULL_DEV was hard-coded to "/dev/null" regardless of platform, which didn't work on Windows, while DEVNULL works on all platforms. Restarting syslogger didn't work on Windows on versions 8.3 and below because of that.
* Use a file of patterns of filenames to exclude from pgindent runs, instead ↵Andrew Dunstan2010-04-01
| | | | if using multiple invocations of egrep. Add perl ppport.h to the current list.