| CommitterBackported | Reset minRecoveryPoint at checkpoints, so that we don't uselessly update it in the control file at crash recovery following an archive recovery. ff1e1e45 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more | No linked thread | Dec 30, 2009 |
| Committer | Remove a now unused local variable. c79a6b11 | REL8_1_STABLE8.1.20 | No linked thread | Dec 29, 2009 |
| Committer | Oops, previous backpatch applied incorrectly. 0404cd5a | REL8_3_STABLE8.3.10 | No linked thread | Dec 29, 2009 |
| CommitterBackported | Previous fix for temporary file management broke returning a set from PL/pgSQL function within an exception handler. Make sure we use the right resource owner when we create the tuplestore to hold returned tuples. 84d723b6 | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+16 more | No linked thread | Dec 29, 2009 |
| CommitterBackported | Always pass catalog id to the options validator function specified in CREATE FOREIGN DATA WRAPPER. Arguably it wasn't a bug because the documentation said that it's passed the catalog ID or zero, but surely we should provide it when it's known. And there isn't currently any scenario where it's not known, and I can't imagine having one in the future either, so better remove the "or zero" escape hatch and always pass a valid catalog ID. Backpatch to 8.4. 4e766f2d | master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more | No linked thread | Dec 23, 2009 |
| CommitterBackported | Fix bug in temporary file management with subtransactions. A cursor opened in a subtransaction stays open even if the subtransaction is aborted, so any temporary files related to it must stay alive as well. With the patch, we use ResourceOwners to track open temporary files and don't automatically close them at subtransaction end (though in the normal case temporary files are registered with the subtransaction resource owner and will therefore be closed). ab3148b7 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+18 more | No linked thread | Dec 03, 2009 |
| CommitterBackported | Fix an old bug in multixact and two-phase commit. Prepared transactions can be part of multixacts, so allocate a slot for each prepared transaction in the "oldest member" array in multixact.c. On PREPARE TRANSACTION, transfer the oldest member value from the current backends slot to the prepared xact slot. Also save and recover the value from the 2pc state file. cd87b6f8 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+17 more | No linked thread | Nov 23, 2009 |
| Committer | Remove superfluous curly brace, fixing compilation with OPTIMIZER_DEBUG. 997a6a27 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 22, 2009 |
| CommitterBackported | A better fix for the "ARRAY[...]::domain" problem. The previous patch worked, but the transformed ArrayExpr claimed to have a return type of "domain", even though the domain constraint was only checked by the enclosing CoerceToDomain node. With this fix, the ArrayExpr is correctly labeled with the base type of the domain. Per gripe by Tom Lane. 01038d4a | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 13, 2009 |
| CommitterBackported | When you do "ARRAY[...]::domain", where domain is a domain over an array type, we need to check domain constraints. We used to do it correctly, but 8.4 introduced a separate code path for the "ARRAY[]::arraytype" case to infer the type of an empty ARRAY construct from the cast target, and forgot to take domains into account. 942702a4 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+14 more | No linked thread | Nov 13, 2009 |
| CommitterBackported | Disable triggering failover with a signal in pg_standby on Windows, because Windows doesn't do signal processing like other platforms do. It never really worked, but recent changes to the signal handling made it crash. 48912acc | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+15 more | No linked thread | Nov 04, 2009 |
| Committer | Allow rewriting ALTER TABLE to skip WAL logging. 91ce16a9 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Nov 04, 2009 |
| Committer | Fix range check in date_recv that tried to limit accepted values to only those accepted by date_in(). I confused julian day numbers and number of days since the postgres epoch 2000-01-01 in the original patch. 2078e384 | master8.5alpha3REL_19_STABLE8.5alpha3REL_18_STABLE8.5alpha3REL_17_STABLE8.5alpha3REL_16_STABLE8.5alpha3REL_15_STABLE8.5alpha3REL_14_STABLE8.5alpha3REL_13_STABLE8.5alpha3+13 more | No linked thread | Oct 26, 2009 |
| CommitterBackported | FREEZE and VERBOSE options were in wrong order in the VACUUM command that vacuumdb produces. Per report by Thom Brown. c02350dc | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more | No linked thread | Oct 16, 2009 |
| CommitterBackported | Rename the new MAX_AUTH_TOKEN_LENGTH #define to PG_MAX_AUTH_MAX_TOKEN_LENGTH, to make it more obvious that it's a PostgreSQL internal limit, not something that comes from system header files. be922e85 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+16 more | No linked thread | Oct 14, 2009 |
| CommitterBackported | Raise the maximum authentication token (Kerberos ticket) size in GSSAPI and SSPI athentication methods. While the old 2000 byte limit was more than enough for Unix Kerberos implementations, tickets issued by Windows Domain Controllers can be much larger. e2a41957 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+16 more | No linked thread | Oct 14, 2009 |
| CommitterBackported | Fix off-by-one bug in bitncmp(): When comparing a number of bits divisible by 8, bitncmp() may dereference a pointer one byte out of bounds. eab94d81 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+20 more | No linked thread | Oct 08, 2009 |
| CommitterBackported | Don't error out if recycling or removing an old WAL segment fails at the end of checkpoint. Although the checkpoint has been written to WAL at that point already, so that all data is safe, and we'll retry removing the WAL segment at the next checkpoint, if such a failure persists we won't be able to remove any other old WAL segments either and will eventually run out of disk space. It's better to treat the failure as non-fatal, and move on to clean any other WAL segment and continue with any other end-of-checkpoint cleanup. 7f2a10fe | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+17 more | No linked thread | Sep 13, 2009 |
| CommitterBackported | On Windows, when a file is deleted and another process still has an open file handle on it, the file goes into "pending deletion" state where it still shows up in directory listing, but isn't accessible otherwise. That confuses RemoveOldXLogFiles(), making it think that the file hasn't been archived yet, while it actually was, and it was deleted along with the .done file. 4e2d5efc | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+17 more | No linked thread | Sep 10, 2009 |
| Committer | Tigthen binary receive functions so that they reject values that the text input functions don't accept either. While the backend can handle such values fine, they can cause trouble in clients and in pg_dump/restore. 7be39bb0 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+14 more | No linked thread | Sep 04, 2009 |
| CommitterBackported | Fix encoding handling in xml binary input function. If the XML header didn't specify an encoding explicitly, we used to treat it as being in database encoding when we parsed it, but then perform a UTF-8 -> database encoding conversion on it, which was completely bogus. It's now consistently treated as UTF-8. 237859e4 | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+16 more | No linked thread | Sep 04, 2009 |
| CommitterBackported | In the checkpoint written at the end of archive recovery, the WAL page header was incorrectly initialized with timeline ID 0. That rendered the WAL page unrecoverable, making a subsequent archive recovery stop at that point. ThisTimeLineID needs to be initialized before calling AdvanceXLInsertBuffer(). 9cd6685f | master8.5alpha2REL_19_STABLE8.5alpha2REL_18_STABLE8.5alpha2REL_17_STABLE8.5alpha2REL_16_STABLE8.5alpha2REL_15_STABLE8.5alpha2REL_14_STABLE8.5alpha2REL_13_STABLE8.5alpha2+15 more | No linked thread | Aug 27, 2009 |
| CommitterBackported | Fast shutdown stop should forcibly disconnect any active backends, even if a smart shutdown is already in progress. Backpatch to 8.3, this was broken in the patch that introduced "dead-end backends". 06f1f53e | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+17 more | No linked thread | Aug 07, 2009 |
| Committer | Improve error messages in md.c. When a filesystem operation like open() or fsync() fails, say "file" rather than "relation" when printing the filename. 23dc89d2 | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+15 more | No linked thread | Aug 05, 2009 |
| Committer | pg_standby doesn't need to be linked with libpq. Fujii Masao. fe1cc1e7 | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+15 more | No linked thread | Jul 16, 2009 |
| CommitterBackported | Need to use pg_perm_setlocale when setting LC_CTYPE and LC_COLLATE at startup. Otherwise, the LC_CTYPE/COLLATE setting gets reverted when using plperl, which leads to incorrect query results and index corruption. e5bb0f04 | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+16 more | No linked thread | Jul 08, 2009 |
| CommitterBackported | Fix ancient bug in handling of to_char modifier 'TH', when used with HH. In what seems like an oversight, we used to treat 'TH' the same as lowercase 'th', but only with HH/HH12. 44886bd8 | master8.5alpha1REL_19_STABLE8.5alpha1REL_18_STABLE8.5alpha1REL_17_STABLE8.5alpha1REL_16_STABLE8.5alpha1REL_15_STABLE8.5alpha1REL_14_STABLE8.5alpha1REL_13_STABLE8.5alpha1+20 more | No linked thread | Jul 06, 2009 |
| Committer | Fix some serious bugs in archive recovery, now that bgwriter is active during it: 7e48b77b | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 25, 2009 |
| Committer | The code to unlink dropped relations in FinishPreparedTransaction() was acting like runs inside WAL recovery, but it doesn't. I must've copy-pasted this from a redo-function in the relation forks patch. Noticed by Tom Lane while he was looking through callers of smgrdounlink(). ebaa1952 | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 25, 2009 |
| Committer | Disable pg_standby -l option because the backend doesn't expect the recovered file to be a symlink. We tried to fix this issue with an earlier server-side patch, but it didn't fix the whole issue. 8fd733bd | master8.4.0REL_19_STABLE8.4.0REL_18_STABLE8.4.0REL_17_STABLE8.4.0REL_16_STABLE8.4.0REL_15_STABLE8.4.0REL_14_STABLE8.4.0REL_13_STABLE8.4.0+16 more | No linked thread | Jun 25, 2009 |
| CommitterBackported | Fix error in comment. Fujii Masao d3538643 | REL8_3_STABLE8.3.8REL8_2_STABLE8.2.14 | No linked thread | Jun 18, 2009 |
| Committer | Fix a few errors in comments. Patch by Fujii Masao, plus the one in visibilitymap.c by me. efa8544f | master8.4rc2REL_19_STABLE8.4rc2REL_18_STABLE8.4rc2REL_17_STABLE8.4rc2REL_16_STABLE8.4rc2REL_15_STABLE8.4rc2REL_14_STABLE8.4rc2REL_13_STABLE8.4rc2+16 more | No linked thread | Jun 18, 2009 |
| CommitterBackported | Only recycle normal files in pg_xlog as WAL segments. pg_standby creates symbolic links with the -l option, and as Fujii Masao pointed out we ended up overwriting files in the archive directory before this patch. Patch by Aidan Van Dyk, Fujii Masao and me. 7c8d7a2e | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+17 more | No linked thread | Jun 02, 2009 |
| Committer | When archiving is enabled, rotate the last WAL segment at shutdown so that all transactions are archived. 2e6107cb | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | May 28, 2009 |
| Committer | Silence a gcc compiler warning about non-literal format string with no args when compiling with -Wformat-security. Fujii Masao. 7340793f | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more | No linked thread | May 20, 2009 |
| CommitterBackported | Update relpages and reltuples estimates in stand-alone ANALYZE, even if there's no analyzable attributes or indexes. We also used to report 0 live and dead tuples for such tables, which messed with autovacuum threshold calculations. 9ca99cda | master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+19 more | No linked thread | May 19, 2009 |
| Committer | Add a note to release notes about the smart failover mode in pg_standby. b3aac077 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | May 14, 2009 |
| Committer | Add recovery_end_command option to recovery.conf. recovery_end_command is run at the end of archive recovery, providing a chance to do external cleanup. Modify pg_standby so that it no longer removes the trigger file, that is to be done using the recovery_end_command now. 9e403c25 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | May 14, 2009 |
| Committer | Add alternative expected output files for cs_CZ locale for btree_gist and tsearch2 tests. This should make 'comet_moth' buildfarm member pass contrib check. Zdenek Kotala. a41e9ec0 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | May 08, 2009 |
| CommitterBackported | Request XLOG switch before writing checkpoint in pg_start_backup(). Otherwise you can end up with an unrecoverable backup if you start a new base backup right after finishing archive recovery. In that scenario, the redo pointer of the checkpoint that pg_start_backup() writes points to the XLOG segment where the timeline-changing end-of-archive-recovery checkpoint is. The beginning of that segment contains pages with the old timeline ID, and we don't accept that in recovery unless we find a history file covering the old timeline ID. If you omit pg_xlog from the base backup and clear the archive directory before starting the backup, there will be no such history file available. 223431cb | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+18 more | No linked thread | May 07, 2009 |
| Committer | Fix the query used for \d against 8.2 and 8.3 servers. 0e198848 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | May 04, 2009 |
| Committer | Clean up check_keywords.pl script, making it 'strict' and removing a few leftover unused variables. cfb61be9 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 30, 2009 |
| Committer | Add check_keyword.pl script to perform some basic sanity checks to the keyword lists in gram.y and kwlist.h. It checks that all lists are in alphabetical order, and that all keywords present in gram.y are listed in kwlist.h in the right category, and that all keywords in kwlist.h are also in gram.y. What's still missing is to check that all keywords defined with "%token <keyword>" in gram.y are present in one of the keyword lists in gram.y. 19499bf9 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 29, 2009 |
| Committer | Move SERVER to the right place in the alphabetically sorted keyword list. a4278fd8 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 28, 2009 |
| Committer | Mention that tables have a visibility map fork alongside the main fork and FSM. 88f4d38d | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | Improve the documentation on 8.4 visibility map related VACUUM changes. Explain how vacuum_freeze_table_age should be tuned, and how it relates to the other settings. Mention that vacuum_freeze_table_age also affects when autovacuum scans the whole table. 335904b4 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | varstr_cmp and any comparison function that piggybacks on it can return any negative or positive number, not just -1 or 1. Fix comment on varstr_cmp and citext test case accordingly. 283939a3 | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 23, 2009 |
| Committer | After archive recovery, mark the last WAL segment from the parent timeline ready for archival. It was marked at the next checkpoint anyway, but waiting for the next checkpoint is an unnecessary delay. bae8102f | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+16 more | No linked thread | Apr 22, 2009 |
| Committer | Quote string literals correctly in the new CREATE SERVER statements and binary upgrade UPDATE statements. 84bb600b | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Apr 08, 2009 |
| Committer | Oops, mustn't call textdomain() when compiling without --enable-nls 71d119f8 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Apr 08, 2009 |
| Committer | Tell gettext which codeset to use by calling bind_textdomain_codeset(). We already did that on Windows, but it's needed on other platforms too when LC_CTYPE=C. With other locales, we enforce (or trust) that the codeset of the locale matches the server encoding so we don't need to bind it explicitly. It should do no harm in that case either, but I don't have full faith in the PG encoding -> OS codeset mapping table yet. Per recent discussion on pgsql-hackers. 1fe50205 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Apr 08, 2009 |
| Committer | Rename the new CREATE DATABASE options to set collation and ctype into LC_COLLATE and LC_CTYPE, per discussion on pgsql-hackers. 1eef90d0 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Apr 06, 2009 |
| Committer | Update comment to reflect that LC_COLLATE and LC_CTYPE are now per-database settings. 00b24e16 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Apr 01, 2009 |
| CommitterBackported | Fix a rare race condition when commit_siblings > 0 and a transaction commits at the same instant as a new backend is spawned. Since CountActiveBackends() doesn't hold ProcArrayLock, it needs to be prepared for the case that a pointer at the end of the proc array is still NULL even though numProcs says it should be valid, since it doesn't hold ProcArrayLock. Backpatch to 8.1. 8.0 and earlier had this right, but it was broken in the split of PGPROC and sinval shared memory arrays. eeeb782e | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+19 more | No linked thread | Mar 31, 2009 |
| CommitterBackported | Fix tab completion of ANALYZE VERBOSE <tab>. It was previously confused with EXPLAIN ANALYZE VERBOSE. c1dcaa86 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+19 more | No linked thread | Mar 27, 2009 |
| CommitterBackported | Don't set the signal handler for SIGQUIT on Windows. Buildfarm shows that reinstalling the default signal handler doesn't work as it is on Windows. Presumably core dumps on SIGQUIT are not a problem on Windows, so rather than figure out what header files or other changes are required to make it work, just don't bother. 753a0404 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+17 more | No linked thread | Mar 18, 2009 |
| CommitterBackported | Don't intercept SIGQUIT as a signal to trigger failover; that's what postmaster uses for immediate shutdown. Trap SIGUSR1 as the preferred signal for that. 47ce5955 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+17 more | No linked thread | Mar 18, 2009 |
| Committer | Fix case of the just resurrected UCS_to_BIG5.pl script, and update Makefile to use it. afcde99b | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 18, 2009 |
| Committer | Add seven kanji characters defined in the Windows 950 codepage to our big5/win950 <-> UTF8 conversion tables. 2dbbf33f | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 18, 2009 |
| CommitterBackported | Fix Windows-specific race condition in syslogger. This could've been the cause of the "could not write to log file: Bad file descriptor" errors reported at http://archives.postgresql.org//pgsql-general/2008-06/msg00193.php 8e1a8fe2 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+17 more | No linked thread | Mar 18, 2009 |
| CommitterBackported | Add MUST (Mauritius Island Summer Time) to the list of known abbreviations. Mauritius began using DST in the summer 2008-2009; the Olson library has been updated already. 5d6f43bb | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+21 more | No linked thread | Mar 05, 2009 |
| Committer | Reload config file in startup process on SIGHUP. fb7df896 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 04, 2009 |
| Committer | Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow composite, enum and array types, as those are surely not binary-compatible with anything else because of the embedded OIDs. 45a10b25 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 04, 2009 |
| Committer | Fix copy-pasto in the patch to allow background writer to run during recovery: if background writer or pgstat process dies during recovery (or any other child process, but those two are the only ones running), send SIGQUIT to the startup process using correct pid. fd75329e | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 03, 2009 |
| Committer | Remove the placeholder LWLockId in place of the removed FreeSpaceLock. As pointed out by ITAGAKI Takahiro, we split SInvalLock into two in 8.4, so to keep the numbers of the rest of the locks unchanged from 8.3, we don't need a placeholder. d657843a | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Mar 03, 2009 |
| CommitterBackported | In CREATE CONVERSION, test that the given function is a valid conversion function for the specified source and destination encodings. We do that by calling the function with an empty string. If it can't perform the requested conversion, it will throw an error. 5c4ca3b6 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+21 more | No linked thread | Feb 27, 2009 |
| CommitterBackported | Set isnull for errm and sqlstate local variables when they're free'd. Because they are out of scope for any code after that anyway, leaving isnull true should be harmless. However, PL/pgSQL Debugger doesn't seem to care about the scoping and crashed, per report by Robert Walker (bug #4635). And it's good to be tidy for debugging purposes too. 29d033f9 | REL8_3_STABLE8.3.7REL8_2_STABLE8.2.13REL8_1_STABLE8.1.17 | No linked thread | Feb 27, 2009 |
| Committer | Put back a "continue" that went missing in the changes to start background writer in WAL recovery. 0160cebe | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 25, 2009 |
| Committer | Change the signaling of end-of-recovery. Startup process now indicates end of recovery by exiting with exit code 0, like in previous releases. Per Tom's suggestion. bc134d7a | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 23, 2009 |
| Committer | Fix bogus comment, from the patch to start bgwriter during archive recovery. 5717f3a3 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 19, 2009 |
| Committer | Increase NUM_AUXILIARY_PROCS, now that the startup process can co-exist with other auxiliary processes for a short period. As witnessed by buildfarm member dungbeetle. 6ebc6d90 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 19, 2009 |
| Committer | Start background writer during archive recovery. Background writer now performs its usual buffer cleaning duties during archive recovery, and it's responsible for performing restartpoints. cdd46c76 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 18, 2009 |
| Committer | Fix obsolete comment. Zdenek Kotala b75b6633 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Feb 07, 2009 |
| Committer | Check that connection limit is within valid range. IOW, not < -1. 4265ed9f | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 30, 2009 |
| Committer | Put back fast-path for the case that there's no backup blocks in RestoreBkpBlocks. Went missing in my recent refactoring patch, as pointed out by Simon's hot standby patch. 9187cedd | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 23, 2009 |
| Committer | Only skip pages marked as clean in the visibility map, if the last 32 pages were marked as clean as well. The idea is to avoid defeating OS readahead by skipping a page here and there, and also makes it less likely that we miss an opportunity to advance relfrozenxid, for the sake of only a few skipped pages. bf136cf6 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 22, 2009 |
| Committer | Update comments to reflect that tgenabled is not a boolean anymore. c079090b | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 22, 2009 |
| Committer | Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places. 410a372a | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 21, 2009 |
| Committer | Add new SPI_OK_REWRITTEN return code to SPI_execute and friends, for the case that the command is rewritten into another type of command. The old behavior to return the command tag of the last executed command was pretty surprising. In PL/pgSQL, for example, it meant that if a command was rewritten to a utility statement, FOUND wasn't set at all. 94136d5a | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 21, 2009 |
| Committer | Add a new option to RestoreBkpBlocks() to indicate if a cleanup lock should be used instead of the normal exclusive lock, and make WAL redo functions responsible for calling RestoreBkpBlocks(). They know better what kind of a lock they need. b2a667b9 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 20, 2009 |
| Committer | Add vacuum_freeze_table_age GUC option, to control when VACUUM should ignore the visibility map and scan the whole table, to advance relfrozenxid. 65878185 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 16, 2009 |
| CommitterBackported | Change explanation of pg_switch_xlog()'s return value to match code. 14bfea3b | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+18 more | No linked thread | Jan 15, 2009 |
| CommitterBackported | Remove broken Assertions that failed if a statement executed in PL/pgSQL is rewritten into another kind of statement, for example if an INSERT is rewritten into an UPDATE. f2248478 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+18 more | No linked thread | Jan 14, 2009 |
| CommitterBackported | Fix logic in lazy vacuum to decide if it's worth trying to truncate the heap. If the table was smaller than REL_TRUNCATE_FRACTION (= 16) pages, we always tried to acquire AccessExclusiveLock on it even if there was no empty pages at the end. 7ffe6572 | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+21 more | No linked thread | Jan 06, 2009 |
| Committer | Fix embarrassing bug in recent smgr refactoring patch: WAL records should be written for *non*-temp tables only. Report and test case by Mark Kirkwood and Simon Riggs. 74ef810c | master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more | No linked thread | Jan 04, 2009 |