| Committer | Update our information about OS X shared memory configuration: it's now possible to set most of the SHM kernel parameters without a reboot. Also, reorder the paragraph to explain the modern configuration method first. There are probably not too many people who still care about how to do it on OS X 10.3 or older. 05f03083 | master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more | No linked thread | Apr 30, 2010 |
| Committer | Improve COPY documentation to clarify that it doesn't copy data to or from child tables. Per gripe from Jaime Casanova. 854b5eb5 | master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more | No linked thread | Apr 30, 2010 |
| CommitterBackported | Fix multiple memory leaks in PLy_spi_execute_fetch_result: it would leak memory if the result had zero rows, and also if there was any sort of error while converting the result tuples into Python data. Reported and partially fixed by Andres Freund. b1bc2f04 | master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more | No linked thread | Apr 30, 2010 |
| Committer | Fix a couple of places where the result of fgets() wasn't checked. This is mostly to suppress compiler warnings, although in principle the cases could result in undesirable behavior. 09543580 | master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more | No linked thread | Apr 30, 2010 |
| Committer | Adjust error checks in pg_start_backup and pg_stop_backup to make it possible to perform a backup without archive_mode being enabled. This gives up some user-error protection in order to improve usefulness for streaming-replication scenarios. Per discussion. 69f7a4d8 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 29, 2010 |
| Committer | Rename the parameter recovery_connections to hot_standby, to reduce possible confusion with streaming-replication settings. Also, change its default value to "off", because of concern about executing new and poorly-tested code during ordinary non-replicating operation. Per discussion. f0488bd5 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 29, 2010 |
| Committer | Install a workaround for 'TeX capacity exceeded' problem when building PDF output for recent versions of the documentation. There is probably a better answer out there somewhere, but we need something now so we can build beta releases. a5ec86a7 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 29, 2010 |
| Committer | Fix typo, per Thom Brown. fa171dd8 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Modify information_schema._pg_keysequal() to avoid search path risk when contrib/intarray is loaded. Per bug #5417 from Kenaniah Cerny. f4ec2fab | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Minor editorializing on pg_controldata and pg_resetxlog: adjust some message wording, deal explicitly with some fields that were being silently left zero. c80a85e3 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | pg_controldata needs #define FRONTEND, same as pg_resetxlog. Per buildfarm results from dawn_bat. 82e38aba | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Modify ShmemInitStruct and ShmemInitHash to throw errors internally, rather than returning NULL for some-but-not-all failures as they used to. Remove now-redundant tests for NULL from call sites. 77acab75 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Fix contrib/tsearch2 expected results to match recent changes in URL parsing. a2de4826 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Modify the built-in text search parser to handle URLs more nearly according to RFC 3986. In particular, these characters now terminate the path part of a URL: '"', '<', '>', '\', '^', '`', '{', '|', '}'. The previous behavior was inconsistent and depended on whether a "?" was present in the path. Per gripe from Donald Fraser and spec research by Kevin Grittner. 2c265ade | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Fix stupid typo in refnameRangeTblEntry() --- mea maxima culpa. Per report from Josh. d64b110a | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Replace the KnownAssignedXids hash table with a sorted-array data structure, and be more tense about the locking requirements for it, to improve performance in Hot Standby mode. In passing fix a few bugs and improve a number of comments in the existing HS code. 2871b461 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 28, 2010 |
| Committer | Update documentation to match pg_stat_activity changes. 3456cf18 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 26, 2010 |
| Committer | Add missing newlines in WPARSER_TRACE output. 8f0ab229 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 26, 2010 |
| Committer | Enforce superuser permissions checks during ALTER ROLE/DATABASE SET, rather than during define_custom_variable(). This entails rejecting an ALTER command if the target variable doesn't have a known (non-placeholder) definition, unless the calling user is superuser. When the variable *is* known, we can correctly apply the rule that only superusers can issue ALTER for SUSET parameters. This allows define_custom_variable to apply ALTER's values for SUSET parameters at module load time, secure in the knowledge that only a superuser could have set the ALTER value. This change fixes a longstanding gotcha in the usage of SUSET-level custom parameters; which is a good thing to fix now that plpgsql defines such a parameter. a6dcd19a | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 21, 2010 |
| Committer | Fix pg_hba.conf matching so that replication connections only match records with database = replication. The previous coding would allow them to match ordinary records too, but that seems like a recipe for security breaches. Improve the messages associated with no-such-pg_hba.conf entry to report replication connections as such, since that's now a critical aspect of whether the connection matches. Make some cursory improvements in the related documentation, too. a2c3931a | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 21, 2010 |
| Committer | Move the check for whether walreceiver has authenticated as a superuser from walsender.c, where it didn't really belong, to postinit.c where it does belong (and is essentially free, too). a3c6d105 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 21, 2010 |
| Committer | Arrange for client authentication to occur before we select a specific database to connect to. This is necessary for the walsender code to work properly (it was previously using an untenable assumption that template1 would always be available to connect to). This also gets rid of a small security shortcoming that was introduced in the original patch to eliminate the flat authentication files: before, you could find out whether or not the requested database existed even if you couldn't pass the authentication checks. ea46000a | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 20, 2010 |
| Committer | Fix code that doesn't work on machines with strict alignment requirements: must use memcpy here rather than struct assignment. 7de2dfcc | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 20, 2010 |
| Committer | Move the responsibility for calling StartupXLOG into InitPostgres, for those process types that go through InitPostgres; in particular, bootstrap and standalone-backend cases. This ensures that we have set up a PGPROC and done some other basic initialization steps (corresponding to the if (IsUnderPostmaster) block in AuxiliaryProcessMain) before we attempt to run WAL recovery in a standalone backend. As was discovered last September, this is necessary for some corner-case code paths during WAL recovery, particularly end-of-WAL cleanup. c670410e | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 20, 2010 |
| Committer | Fix uninitialized local variables. Not sure why gcc doesn't complain about these --- maybe because they're effectively unused? MSVC does complain though, per buildfarm. 39bf4638 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 19, 2010 |
| Committer | Fix bogus order of cleanup steps in plperl_inline_handler. Per Alex Hunsaker 9287567e | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 18, 2010 |
| CommitterBackported | Fix psql's \copy to not insert spaces around dots and commas in the text of the SELECT query in \copy (SELECT ...) commands. This is unnecessary and breaks numeric literals, as seen in bug #5411 from Vitalii Tymchyshyn. 9df6127b | REL8_4_STABLE8.4.4REL8_3_STABLE8.3.11REL8_2_STABLE8.2.17 | No linked thread | Apr 15, 2010 |
| Committer | Improve message style for messages associated with not being able to identify the system time zone setting. Per recent discussion. 6ead7828 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 15, 2010 |
| CommitterBackported | Fix plpgsql's exec_eval_expr() to ensure it returns a sane type OID even when the expression is a query that returns no rows. f7c5ff3d | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+11 more | No linked thread | Apr 14, 2010 |
| CommitterBackported | Fix a problem introduced by my patch of 2010-01-12 that revised the way relcache reload works. In the patched code, a relcache entry in process of being rebuilt doesn't get unhooked from the relcache hash table; which means that if a cache flush occurs due to sinval queue overrun while we're rebuilding it, the entry could get blown away by RelationCacheInvalidate, resulting in crash or misbehavior. Fix by ensuring that an entry being rebuilt has positive refcount, so it won't be seen as a target for removal if a cache flush occurs. (This will mean that the entry gets rebuilt twice in such a scenario, but that's okay.) It appears that the problem can only arise within a transaction that has previously reassigned the relfilenode of a pre-existing table, via TRUNCATE or a similar operation. Per bug #5412 from Rusty Conover. 73981cb4 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+13 more | No linked thread | Apr 14, 2010 |
| Committer | Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works, 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. 2c0870ff | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 07, 2010 |
| Committer | Clean up description of 9.0's incompatible changes in SIMILAR TO and SQL-style substring(). 87d5c229 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 05, 2010 |
| Committer | Arrange to remove pg_default_acl entries completely if their ACL setting 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. 60bd2b19 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 05, 2010 |
| Committer | Fix updateAclDependencies() to not assume that ACL role dependencies can only 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. 9029df17 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 05, 2010 |
| Committer | Improve phrasing of warning message for NOTIFY queue getting too full. Per gripe from Peter. 80390f49 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 05, 2010 |
| Committer | Minor wording improvement. 87ecae72 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 03, 2010 |
| Committer | \ddp should be recognized as such even if user appends S or + to it. 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. b8433283 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more | No linked thread | Apr 03, 2010 |
| CommitterBackported | Ensure that contrib/pgstattuple functions respond to cancel interrupts reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops. 33065ef8 | master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+16 more | No linked thread | Apr 02, 2010 |