Commits in 2011
Commits140 commits
0Author
140Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| CommitterBackported | Fix reference to "verify-ca" and "verify-full" in a note in the docs. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+11 more | Dec 16, 2011 | |
| Committer | Add support for passing cursor parameters in named notation in PL/pgSQL. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Dec 14, 2011 | |
| CommitterBackported | Revert the behavior of inet/cidr functions to not unpack the arguments. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+12 more | Dec 12, 2011 | |
| CommitterBackported | Don't set reachedMinRecoveryPoint during crash recovery. In crash recovery, we don't reach consistency before replaying all of the WAL. Rename the variable to reachedConsistency, to make its intention clearer. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Dec 09, 2011 | |
| Committer | Cancel running query if it is detected that the connection to the client is lost. The only way we detect that at the moment is when write() fails when we try to write to the socket. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Dec 09, 2011 | |
| Committer | During recovery, if we reach consistent state and still have entries in the invalid-page hash table, PANIC immediately. Immediate PANIC is much better than waiting for end-of-recovery, which is what we did before, because the end-of-recovery might not come until months later if this is a standby server. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Dec 02, 2011 | |
| Committer | Take fillfactor into account in the new COPY bulk heap insert code. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 26, 2011 | |
| CommitterBackported | Preserve SQLSTATE when an SPI error is propagated through PL/python exception handler. This was a regression in 9.1, when the capability to catch specific SPI errors was added, so backpatch to 9.1. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Nov 24, 2011 | |
| Committer | Fix another bug in the redo of COPY batches. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 10, 2011 | |
| Committer | Fix bugs in the COPY heap-insert batching patch. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 09, 2011 | |
| Committer | In COPY, insert tuples to the heap in batches. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 09, 2011 | |
| CommitterBackported | Make DatumGetInetP() unpack inet datums with a 1-byte header, and add a new macro, DatumGetInetPP(), that does not. This brings these macros in line with other DatumGet*P() macros. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+12 more | Nov 08, 2011 | |
| Committer | Adjust range type docs for some last-minute changes I made to the patch. non_empty(anyrange) function was removed, empty(anyrange) was renamed to isempty(anyrange), and !? operators were removed. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 08, 2011 | |
| Committer | Fix timestamp range subdiff functions, when using float datetimes. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 07, 2011 | |
| Committer | Oops, forgot to fix the catversion when I committed the range types patch. It was inadvertently changed to 201111111, which is a wrong date. Change it to current date, and remove the comment that was supposed to remind me to fix it before committing. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 06, 2011 | |
| Committer | Support range data types. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 03, 2011 | |
| Committer | Fix the number of lwlocks needed by the "fast path" lock patch. It needs one lock per backend or auxiliary process - the need for a lock for each aux processes was not accounted for in NumLWLocks(). No-one noticed, because the three locks needed for the three aux processes fit into the few extra lwlocks we allocate for 3rd party modules that don't call RequestAddinLWLocks() (NUM_USER_DEFINED_LWLOCKS, 4 by default). | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Oct 27, 2011 | |
| CommitterBackported | Fix overly-complicated usage of errcode_for_file_access(). | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Oct 22, 2011 | |
| Committer | Clean up a couple of box gist helper functions. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Oct 09, 2011 | |
| CommitterBackported | Don't let transform_null_equals=on affect CASE foo WHEN NULL ... constructs. transform_null_equals is only supposed to affect "foo = NULL" expressions given directly by the user, not the internal "foo = NULL" expression generated from CASE-WHEN. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+13 more | Oct 08, 2011 | |
| Committer | Fix typo. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Oct 08, 2011 | |
| Committer | Replace the "New Linear" GiST split algorithm for boxes and points with a new double-sorting algorithm. The new algorithm produces better quality trees, making searches faster. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Oct 06, 2011 | |
| CommitterBackported | Teach the makefile used to build stand-alone libpq on Windows that libpq needs win32setlocale.c now. The cygwin and MSVC build scripts were changed earlier, but this was neglected. This should fix bug report #6203 by Steve. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 14, 2011 | |
| CommitterBackported | In the manual section on primary_conninfo, recommend using a role with REPLICATION privileges, not SUPERUSER. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 14, 2011 | |
| Committer | In the final emptying phase of the new GiST buffering build, set the queuedForEmptying flag correctly on buffer when adding it to the queue. Also, don't add buffer to the queue if it's there already. These were harmless oversights; failing to set the flag just means that a buffer might get added to the queue twice if more tuples are added to it (although that can't actually happen at this point because all the upper buffers have already been emptied), and having the same buffer twice in the emptying queue is harmless. But better be tidy. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Sep 12, 2011 | |
| Committer | Fix typo and reword the sentence. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Sep 08, 2011 | |
| Committer | Buffering GiST index build algorithm. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Sep 08, 2011 | |
| CommitterBackported | Remove spurious comma. Spotted by Tom. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 01, 2011 | |
| CommitterBackported | libpq compiles various pgport files like ecpg does, and needs similar Makefile changes for the win32 setlocale() wrapper I put into ecpg, to make it compile on MinGW. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 01, 2011 | |
| CommitterBackported | Fix MinGW build, broken by my previous patch to add a setlocale() wrapper on Windows. ecpglib doesn't link with libpgport, but picks and compiles the .c files it needs individually. To cope with that, move the setlocale() wrapper from chklocale.c to a separate setlocale.c file, and include that in ecpglib. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 01, 2011 | |
| CommitterBackported | setlocale() on Windows doesn't work correctly if the locale name contains dots. I previously worked around this in initdb, mapping the known problematic locale names to aliases that work, but Hiroshi Inoue pointed out that that's not enough because even if you use one of the aliases, like "Chinese_HKG", setlocale(LC_CTYPE, NULL) returns back the long form, ie. "Chinese_Hong Kong S.A.R.". When we try to restore an old locale value by passing that value back to setlocale(), it fails. Note that you are affected by this bug also if you use one of those short-form names manually, so just reverting the hack in initdb won't fix it. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Sep 01, 2011 | |
| CommitterBackported | Move the line to undefine setlocale() macro on Win32 outside USE_REPL_SNPRINTF ifdef block. It has nothing to do with whether the replacement snprintf function is used. It caused no live bug, because the replacement snprintf function is always used on Win32, but it was nevertheless misplaced. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+12 more | Sep 01, 2011 | |
| CommitterBackported | The replication status values in pg_stat_replication was changed to lowercase earlier, but documentation was not updated. Update the docs. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Aug 31, 2011 | |
| CommitterBackported | Add recovery.conf to the index in the user manual. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Aug 23, 2011 | |
| CommitterBackported | Add an SSI regression test that tests all interesting permutations in the order of begin, prepare, and commit of three concurrent transactions that have conflicts between them. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Aug 18, 2011 | |
| CommitterBackported | Strip whitespace from SQL blocks in the isolation test suite. This is purely cosmetic, it removes a lot of IMHO ugly whitespace from the expected output. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Aug 18, 2011 | |
| Committer | Report libpq errors correctly if session setup or teardown steps fail in isolation regression tests. | REL9_1_STABLE9.1rc1 | Aug 18, 2011 | |
| Committer | Teach pg_controldata and pg_resetxlog about the new backupEndRequired field in control file. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 17, 2011 | |
| Committer | Fix comment about which version had BACKUP METHOD line in backup_lable, again. It was invalidated again by Fujii's patch to 9.1. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 17, 2011 | |
| Committer | Fix bogus comment that claimed that the new BACKUP METHOD line in backup_label was new in 9.0. Spotted by Fujii Masao. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 16, 2011 | |
| Committer | Oops, we're working on version 9.2 already, not 9.1. Update the PG_CONTROL_VERSION accordingly; I updated it wrong in previous commit. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 10, 2011 | |
| CommitterBackported | If backup-end record is not seen, and we reach end of recovery from a streamed backup, throw an error and refuse to start up. The restore has not finished correctly in that case and the data directory is possibly corrupt. We already errored out in case of archive recovery, but could not during crash recovery because we couldn't distinguish between the case that pg_start_backup() was called and the database then crashed (must not error, data is OK), and the case that we're restoring from a backup and not all the needed WAL was replayed (data can be corrupt). | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Aug 10, 2011 | |
| Committer | Change the way string relopts are allocated. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 09, 2011 | |
| Committer | Fix grammar and spelling in log message. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Aug 09, 2011 | |
| CommitterBackported | Avoid integer overflow when LIMIT + OFFSET >= 2^63. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+13 more | Aug 02, 2011 | |
| Committer | Change the way the offset of downlink is stored in GISTInsertStack. GISTInsertStack.childoffnum used to mean "offset of the downlink in this node, pointing to the child node in the stack". It's now replaced with downlinkoffnum, which means "offset of the downlink in the parent of this node". gistFindPath() already used childoffnum with this new meaning, and had an extra step at the end to pull all the childoffnum values down one node in the stack, to adjust the stack for the meaning that childoffnum had elsewhere. That's no longer required. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jul 15, 2011 | |
| CommitterBackported | Fix two ancient bugs in GiST code to re-find a parent after page split: | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+13 more | Jul 15, 2011 | |
| Committer | Introduce a pipe between postmaster and each backend, which can be used to detect postmaster death. Postmaster keeps the write-end of the pipe open, so when it dies, children get EOF in the read-end. That can conveniently be waited for in select(), which allows eliminating some of the polling loops that check for postmaster death. This patch doesn't yet change all the loops to use the new mechanism, expect a follow-on patch to do that. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jul 08, 2011 | |
| CommitterBackported | Fix one overflow and one signedness error, caused by the patch to calculate OLDSERXID_MAX_PAGE based on BLCKSZ. MSVC compiler warned about these. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jul 08, 2011 | |
| CommitterBackported | There's a small window wherein a transaction is committed but not yet on the finished list, and we shouldn't flag it as a potential conflict if so. We can also skip adding a doomed transaction to the list of possible conflicts because we know it won't commit. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jul 07, 2011 | |
| CommitterBackported | SSI has a race condition, where the order of commit sequence numbers of transactions might not match the order the work done in those transactions become visible to others. The logic in SSI, however, assumed that it does. Fix that by having two sequence numbers for each serializable transaction, one taken before a transaction becomes visible to others, and one after it. This is easier than trying to make the the transition totally atomic, which would require holding ProcArrayLock and SerializableXactHashLock at the same time. By using prepareSeqNo instead of commitSeqNo in a few places where commit sequence numbers are compared, we can make those comparisons err on the safe side when we don't know for sure which committed first. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jul 07, 2011 | |
| CommitterBackported | Fix a bug with SSI and prepared transactions: | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jul 07, 2011 | |
| CommitterBackported | Clarify that you need ActiveState perl 5.8 *or later* to build on Windows. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+12 more | Jul 04, 2011 | |
| Committer | Remove silent_mode. You get the same functionality with "pg_ctl -l postmaster.log", or nohup. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jul 04, 2011 | |
| CommitterBackported | Move the PredicateLockRelation() call from nodeSeqscan.c to heapam.c. It's more consistent that way, since all the other PredicateLock* calls are made in various heapam.c and index AM functions. The call in nodeSeqscan.c was unnecessarily aggressive anyway, there's no need to try to lock the relation every time a tuple is fetched, it's enough to do it once. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 29, 2011 | |
| CommitterBackported | Grab predicate locks on matching tuples in a lossy bitmap heap scan. Non-lossy case was already handled correctly. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 29, 2011 | |
| CommitterBackported | Remove pointless const qualifiers from function arguments in the SSI code. As Tom Lane pointed out, "const Relation foo" doesn't guarantee that you can't modify the data the "foo" pointer points to. It just means that you can't change the pointer to point to something else within the function, which is not very useful. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 22, 2011 | |
| CommitterBackported | Adjust the alternative expected output file for prepared_xacts test case, used when max_prepared_transactions=0, for the recent changes in the test case. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 21, 2011 | |
| CommitterBackported | Fix bug introduced by recent SSI patch to merge ROLLED_BACK and MARKED_FOR_DEATH flags into one. We still need the ROLLED_BACK flag to mark transactions that are in the process of being rolled back. To be precise, ROLLED_BACK now means that a transaction has already been discounted from the count of transactions with the oldest xmin, but not yet removed from the list of active transactions. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 21, 2011 | |
| CommitterBackported | Fix bug in PreCommit_CheckForSerializationFailure. A transaction that has already been marked as PREPARED cannot be killed. Kill the current transaction instead. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 21, 2011 | |
| CommitterBackported | Update README-SSI. Add a section to describe the "dangerous structure" that SSI is based on, as well as the optimizations about relative commit times and read-only transactions. Plus a bunch of other misc fixes and improvements. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 16, 2011 | |
| CommitterBackported | pgindent run of recent SSI changes. Also, remove an unnecessary #include. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 16, 2011 | |
| CommitterBackported | The rolled-back flag on serializable xacts was pointless and redundant with the marked-for-death flag. It was only set for a fleeting moment while a transaction was being cleaned up at rollback. All the places that checked for the rolled-back flag should also check the marked-for-death flag, as both flags mean that the transaction will roll back. I also renamed the marked-for-death into "doomed", which is a lot shorter name. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 15, 2011 | |
| CommitterBackported | Make non-MVCC snapshots exempt from predicate locking. Scans with non-MVCC snapshots, like in REINDEX, are basically non-transactional operations. The DDL operation itself might participate in SSI, but there's separate functions for that. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 15, 2011 | |
| CommitterBackported | Oops, forgot to change the order of entries in 2PC callback arrays when I renumbered the resource managers. This should fix the buildfarm.. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 14, 2011 | |
| CommitterBackported | Renumber 2PC resource managers so that compared to 9.0, predicate lock rmgr is added to the end, and existing resource managers keep their old ids. We're not going to guarantee on-disk compatibility for 2PC state files over major releases, but it seems better to avoid changing the ids them anyway. It will help anyone who might want to write external tools to inspect the state files to work with files from different versions, if nothing else. Per complaint from Tom Lane. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 14, 2011 | |
| CommitterBackported | Remove now-unnecessary casts. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more | Jun 12, 2011 | |
| Committer | Fix locking while setting flags in MySerializableXact. | master9.1beta3REL_19_STABLE9.1beta3REL_18_STABLE9.1beta3REL_17_STABLE9.1beta3REL_16_STABLE9.1beta3REL_15_STABLE9.1beta3REL_14_STABLE9.1beta3REL_13_STABLE9.1beta3+9 more | Jun 10, 2011 | |
| Committer | Small comment fixes and enhancements. | master9.1beta3REL_19_STABLE9.1beta3REL_18_STABLE9.1beta3REL_17_STABLE9.1beta3REL_16_STABLE9.1beta3REL_15_STABLE9.1beta3REL_14_STABLE9.1beta3REL_13_STABLE9.1beta3+9 more | Jun 10, 2011 | |
| Committer | Fix the truncation logic of the OldSerXid SLRU mechanism. We can't pass SimpleLruTruncate() a page number that's "in the future", because it will issue a warning and refuse to truncate anything. Instead, we leave behind the latest segment. If the slru is not needed before XID wrap-around, the segment will appear as new again, and not be cleaned up until it gets old enough again. That's a bit unpleasant, but better than not cleaning up anything. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | Jun 09, 2011 | |
| Committer | Mark the SLRU page as dirty when setting an entry in pg_serial. In the passing, fix an incorrect comment. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | Jun 09, 2011 | |
| Committer | Make DDL operations play nicely with Serializable Snapshot Isolation. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | Jun 08, 2011 | |
| Committer | Make ascii-art in comments pgindent-safe, and some other formatting changes. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | Jun 07, 2011 | |
| Committer | SSI comment fixes and enhancements. Notably, document that the conflict-out flag actually means that the transaction has a conflict out to a transaction that committed before the flagged transaction. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | Jun 03, 2011 | |
| Committer | The row-version chaining in Serializable Snapshot Isolation was still wrong. On further analysis, it turns out that it is not needed to duplicate predicate locks to the new row version at update, the lock on the version that the transaction saw as visible is enough. However, there was a different bug in the code that checks for dangerous structures when a new rw-conflict happens. Fix that bug, and remove all the row-version chaining related code. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 30, 2011 | |
| Committer | Check the return code of pthread_create(). Otherwise we go into an infinite loop if it fails, which is what what happened on my HP-UX box. (I think the reason it failed on that box is a misconfiguration on my behalf, but that's no reason to hang.) | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 27, 2011 | |
| Committer | Fix integer overflow in text_format function, reported by Dean Rasheed. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 23, 2011 | |
| Committer | Pull up isReset flag from AllocSetContext to MemoryContext struct. This avoids the overhead of one function call when calling MemoryContextReset(), and it seems like the isReset optimization would be applicable to any new memory context we might invent in the future anyway. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 21, 2011 | |
| Committer | Reset per-tuple memory context between every row in a scan node, even when there's no quals or projections. Currently this only matters for foreign scans, as none of the other scan nodes litter the per-tuple memory context when there's no quals or projections. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 21, 2011 | |
| Committer | In binary-upgrade mode, dump dropped attributes of composite types. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more | May 21, 2011 | |
| CommitterBackported | Replace strdup() with pstrdup(), to avoid leaking memory. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+13 more | May 19, 2011 | |
| CommitterBackported | Shut down WAL receiver if it's still running at end of recovery. We used to just check that it's not running and PANIC if it was, but that can rightfully happen if recovery stops at recovery target. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+10 more | May 11, 2011 | |
| CommitterBackported | The arguments to pg_ctl kill are not optional - remove brackets in the docs. | master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+13 more | Apr 28, 2011 | |
| CommitterBackported | Quotes in strings injected into bki file need to escaped. In particular, "People's Republic of China" locale on Windows was causing initdb to fail. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+11 more | Apr 20, 2011 | |
| CommitterBackported | Silence compiler warning about unused variable on Windows. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+10 more | Apr 19, 2011 | |
| Committer | setlocale() on Windows doesn't work correctly if the locale name contains apostrophes or dots. There isn't much hope of Microsoft fixing it any time soon, it's been like that for ages, so we better work around it. So, map a few common Windows locale names known to cause problems to aliases that work. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 15, 2011 | |
| Committer | On Windows, if the encoding implied by locale is not allowed as a server-encoding, fall back to UTF-8. It happens at least with the Chinese locale, which implies BIG5. This is safe, because on Windows all locales are compatible with UTF-8. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 15, 2011 | |
| Committer | Reduce the initial size of local lock hash to 16 entries. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 15, 2011 | |
| CommitterBackported | On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named differently than on other platforms, and only IPv6 addresses are returned. Because of those two issues, fall back to ioctl(SIOCGIFCONF) on HP/UX, so that it at least compiles and finds IPv4 addresses. This function is currently only used for interpreting samehost/samenet in pg_hba.conf, which isn't that critical. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+10 more | Apr 13, 2011 | |
| CommitterBackported | Revert the patch to check if we've reached end-of-backup also when doing crash recovery, and throw an error if not. hubert depesz lubaczewski pointed out that that situation also happens in the crash recovery following a system crash that happens during an online backup. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+10 more | Apr 13, 2011 | |
| CommitterBackported | On IA64 architecture, we check the depth of the register stack in addition to the regular stack. The code to do that is platform and compiler specific, add support for the HP-UX native compiler. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+13 more | Apr 13, 2011 | |
| Committer | TransferPredicateLocksToNewTarget should initialize a new lock entry's commitSeqNo to that of the old one being transferred, or take the minimum commitSeqNo if it is merging two lock entries. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 11, 2011 | |
| Committer | Fix the size of predicate lock manager's shared memory hash tables at creation. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 11, 2011 | |
| Committer | Escape greater than and less than characters in docs. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 02, 2011 | |
| Committer | Fix two missing spaces in error messages. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Apr 01, 2011 | |
| Committer | Fix a tiny race condition in predicate locking. Need to hold the lock while examining the head of predicate locks list. Also, fix the comment of RemoveTargetIfNoLongerUsed, it was neglected when we changed the way update chains are handled. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 31, 2011 | |
| Committer | Increase SHMEM_INDEX_SIZE from 32 to 64. We're currently at 40 entries in ShmemIndex, so 64 leaves some headroom. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 31, 2011 | |
| Committer | Don't leak the temporary PLyProcedure struct we create for inline plpython blocks. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 31, 2011 | |
| Committer | Reword the phrase on zero replication_timeout in the docs. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 31, 2011 | |
| Committer | Improve error message when WAL ends before reaching end of online backup. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 31, 2011 | |
| CommitterBackported | Check that we've reached end-of-backup also when we're not performing archive recovery. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+10 more | Mar 30, 2011 | |
| Committer | Automatically terminate replication connections that are idle for more than replication_timeout (a new GUC) milliseconds. The TCP timeout is often too long, you want the master to notice a dead connection much sooner. People complained about that in 9.0 too, but with synchronous replication it's even more important to notice dead connections promptly. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 30, 2011 | |
| Committer | Adjust error message, now that we expect other message types than connection close at this point. Fix PQsetnonblocking() comment. | master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more | Mar 30, 2011 | |
| Committer | When two base backups are started at the same time with pg_basebackup, ensure that they use different checkpoints as the starting point. We use the checkpoint redo location as a unique identifier for the base backup in the end-of-backup record, and in the backup history file name. | master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+9 more | Mar 21, 2011 | |
| CommitterBackported | In ecpg preprocessor, don't try to look up constants in the test for variable hiding. A constant is not a variable. It worked in most cases by accident, because we add constants to the global list of variables (why?), but float constants like 1.23 were interpreted as struct field references, and not found. | master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+10 more | Mar 11, 2011 | |
| Committer | Fix bugs in the isolation tester flex rules. | master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+9 more | Mar 10, 2011 | |
| Committer | Fix overly strict assertion in SummarizeOldestCommittedSxact(). There's a race condition where SummarizeOldestCommittedSxact() is called even though another backend already cleared out all finished sxact entries. That's OK, RegisterSerializableTransactionInt() can just retry getting a news xact slot from the available-list when that happens. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 08, 2011 | |
| CommitterBackported | Don't throw a warning if vacuum sees PD_ALL_VISIBLE flag set on a page that contains newly-inserted tuples that according to our OldestXmin are not yet visible to everyone. The value returned by GetOldestXmin() is conservative, and it can move backwards on repeated calls, so if we see that contradiction between the PD_ALL_VISIBLE flag and status of tuples on the page, we have to assume it's because an earlier vacuum calculated a higher OldestXmin value, and all the tuples really are visible to everyone. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+11 more | Mar 08, 2011 | |
| Committer | Truncate predicate lock manager's SLRU lazily at checkpoint. That's safer than doing it aggressively whenever the tail-XID pointer is advanced, because this way we don't need to do it while holding SerializableXactHashLock. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 08, 2011 | |
| Committer | If recovery_target_timeline is set to 'latest' and standby mode is enabled, periodically rescan the archive for new timelines, while waiting for new WAL segments to arrive. This allows you to set up a standby server that follows the TLI change if another standby server is promoted to master. Before this, you had to restart the standby server to make it notice the new timeline. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 07, 2011 | |
| Committer | Document the DEFERRABLE option in SET TRANSACTION command. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 07, 2011 | |
| Committer | Begin error message with lower-case letter. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 07, 2011 | |
| Committer | Silence compiler warning about undefined function when compiling without assertions. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 07, 2011 | |
| Committer | You must hold a lock on the heap page when you call CheckForSerializableConflictOut(), because it can set hint bits. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 04, 2011 | |
| Committer | Add tab-completion for table name after JOIN. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 03, 2011 | |
| Committer | Change pg_last_xlog_receive_location() not to move backwards. That makes it a lot more useful for determining which standby is most up-to-date, for example. There was long discussions on whether overwriting existing existing WAL makes sense to begin with, and whether we should do some more extensive variable renaming, but this change nevertheless seems quite uncontroversial. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 01, 2011 | |
| Committer | Fix bugs in Serializable Snapshot Isolation. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Mar 01, 2011 | |
| Committer | Increase the default for wal_sender_delay from 200ms to 1s. Now that WAL sender is immediately woken up by transaction commit, there's no need to wake up so aggressively. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 26, 2011 | |
| Committer | Send status updates back from standby server to master, indicating how far the standby has written, flushed, and applied the WAL. At the moment, this is for informational purposes only, the values are only shown in pg_stat_replication system view, but in the future they will also be needed for synchronous replication. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 10, 2011 | |
| Committer | Allocate all entries in the serializable xid hash up-front, so that you don't run out of shared memory when you try to assign an xid to a transaction. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 10, 2011 | |
| Committer | Fix allocation of RW-conflict pool in the new predicate lock manager, and also take the RW-conflict pool into account in the PredicateLockShmemSize() estimate. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 09, 2011 | |
| Committer | Fix typo, by Kevin Grittner. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 08, 2011 | |
| Committer | UINT64_MAX isn't defined on MSVC. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 08, 2011 | |
| Committer | Fix copy-pasto in description of pg_serial, and silence compiler warning about uninitialized field you get on some compilers. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 08, 2011 | |
| Committer | Oops, forgot to bump catversion in the Serializable Snapshot Isolation patch. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 07, 2011 | |
| Committer | Implement genuine serializable isolation level. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Feb 07, 2011 | |
| Committer | Remove spurious word, spotted by Thom Brown. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 31, 2011 | |
| Committer | Fix typo | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 31, 2011 | |
| Committer | Support multiple concurrent pg_basebackup backups. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 31, 2011 | |
| Committer | Update psql's \copyright to match the text we have in the COPYRIGHT file. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 27, 2011 | |
| Committer | Fix typo in the psql \d query handling, so that we use the correct query against 9.0 servers. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 24, 2011 | |
| Committer | Silence compiler warning about uninitialized variable, noted by Itagaki Takahiro | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 24, 2011 | |
| Committer | Add 'directory' format to pg_dump. The new directory format is compatible with the 'tar' format, in that untarring a tar format archive produces a valid directory format archive. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 23, 2011 | |
| Committer | Don't require usage privileges on the foreign data wrapper when creating a foreign table. We check for usage privileges on the foreign server, that ought to be enough. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 21, 2011 | |
| Committer | Fix thinko in comment. Spotted by Jim Nasby. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 18, 2011 | |
| CommitterBackported | Before exiting walreceiver, fsync() all the WAL received. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+10 more | Jan 17, 2011 | |
| Committer | Treat a WAL sender process that hasn't started streaming yet as a regular backend, as far as the postmaster shutdown logic is concerned. That means, fast shutdown will wait for WAL sender processes to exit before signaling bgwriter to finish. This avoids race conditions between a base backup stopping or starting, and bgwriter writing the shutdown checkpoint WAL record. We don't want e.g the end-of-backup WAL record to be written after the shutdown checkpoint. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 15, 2011 | |
| CommitterBackported | Fix the logic in libpqrcv_receive() to determine if there's any incoming data that can be read without blocking. It used to conclude that there isn't, even though there was data in the socket receive buffer. That lead walreceiver to flush the WAL after every received chunk, potentially causing big performance issues. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+10 more | Jan 13, 2011 | |
| Committer | Leave temporary files out of streaming base backups. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 10, 2011 | |
| Committer | Fix crash in the new GiST insertion code, when an update splits the root page. | master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more | Jan 09, 2011 |