| Committer | Fix memory clobber problem reported by John Hansen: plperl_safe_init() may expand the Perl stack, therefore we must SPAGAIN to reload the local stack pointer after calling it. Also a couple other marginal readability improvements. b6038484 | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | No linked thread | Nov 18, 2004 |
| Committer | Whoops, missed converting the other sleep() call to pg_usleep(). da1c19aa | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | No linked thread | Nov 18, 2004 |
| CommitterBackported | Back-patch fix for ALTER DATABASE failing to flush pg_database changes to disk right away. This is just a one-liner change rather than trying to use FlushRelationBuffers(). a007dd1d | REL7_4_STABLE7.4.7REL7_3_STABLE7.3.9 | No linked thread | Nov 18, 2004 |
| Committer | Force pg_database updates out to disk immediately after ALTER DATABASE; this is to avoid scenarios where incoming backends find no live copies of a database's row because the only live copy is in an as-yet-unwritten shared buffer, which they can't see. Also, use FlushRelationBuffers() for forcing out pg_database, instead of the much more expensive BufferSync(). There's no need to write out pages belonging to other relations. b2a2f4ce | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | No linked thread | Nov 18, 2004 |