| Committer | Clean up some randomness associated with trace_recovery_messages: don't put the variable declaration in the middle of a bunch of externs, and do use extern where it should be used. 78e8f002 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 17, 2010 |
| Committer | Make RemoveOldXlogFiles's debug printout match style used elsewhere: log and seg aren't an XLogRecPtr and shouldn't be printed like one. Fujii Masao 09698bb5 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 17, 2010 |
| Committer | Clean up pg_archivecleanup's error and logging output: put newlines in sane places, make messages follow project's message style guidelines. 449c73f4 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 17, 2010 |
| Committer | Add missing close brackets in old-style COPY syntax diagram. Spotted by Evan Carroll. f826f8fc | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 17, 2010 |
| Committer | Don't allow walsender to send WAL data until it's been safely fsync'd on the master. Otherwise a subsequent crash could cause the master to lose WAL that has already been applied on the slave, resulting in the slave being out of sync and soon corrupt. Per recent discussion and an example from Robert Haas. 07e8b6aa | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 17, 2010 |
| CommitterBackported | Fix typo, init => int, per KOIZUMI Satoru. 8f4e1218 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+11 more | No linked thread | Jun 17, 2010 |
| Committer | Change the interpretation of the primary_key_attnums parameter of dblink_build_sql_insert() and related functions. Now the column numbers are treated as logical not physical column numbers. This will provide saner behavior in the presence of dropped columns; furthermore, if we ever get around to allowing rearrangement of logical column ordering, the original definition would become nearly untenable from a usability standpoint. Per recent discussion of dblink's handling of dropped columns. Not back-patched for fear of breaking existing applications. c0989c67 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more | No linked thread | Jun 15, 2010 |
| CommitterBackported | Fix dblink_build_sql_insert() and related functions to handle dropped columns correctly. In passing, get rid of some dead logic in the underlying get_sql_insert() etc functions --- there is no caller that will pass null value-arrays to them. 3b3706d2 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more | No linked thread | Jun 15, 2010 |
| CommitterBackported | Consolidate and improve checking of key-column-attnum arguments for dblink_build_sql_insert() and related functions. In particular, be sure to reject references to dropped and out-of-range column numbers. The numbers are still interpreted as physical column numbers, though, for backward compatibility. 48a72453 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more | No linked thread | Jun 15, 2010 |
| CommitterBackported | Rearrange dblink's dblink_build_sql_insert() and related routines to open and lock the target relation just once per SQL function call. The original coding obtained and released lock several times per call. Aside from saving a not-insignificant number of cycles, this eliminates possible race conditions if someone tries to modify the relation's schema concurrently. Also centralize locking and permission-checking logic. 6bbaa314 | master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more | No linked thread | Jun 14, 2010 |