Commit Graph

213 Commits (15c121b3ed7eb2f290e19533e41ccca734d23574)

Author SHA1 Message Date
Heikki Linnakangas 15c121b3ed Rewrite the FSM. Instead of relying on a fixed-size shared memory segment, the 17 years ago
Heikki Linnakangas c2d4526495 Tighten the check in initdb and CREATE DATABASE that the chosen encoding 17 years ago
Heikki Linnakangas 61d9674988 Make LC_COLLATE and LC_CTYPE database-level settings. Collation and 17 years ago
Tom Lane 4abd7b49f1 Improve CREATE/DROP/RENAME DATABASE so that when failing because the source 17 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 17 years ago
Tom Lane b8e5581d76 Fix rmtree() so that it keeps going after failure to remove any individual 17 years ago
Heikki Linnakangas 9cb91f90c9 Fix two race conditions between the pending unlink mechanism that was put in 17 years ago
Tom Lane d1cbd26ded Repair two places where SIGTERM exit could leave shared memory state 17 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Magnus Hagander 699a0ef7bb Re-allow UTF8 encodings on win32. Since UTF8 is converted to 18 years ago
Tom Lane 8468146b03 Fix the inadvertent libpq ABI breakage discovered by Martin Pitt: the 18 years ago
Tom Lane 6daef2bca4 Remove hack in pg_tablespace_aclmask() that disallowed permissions 18 years ago
Tom Lane 70b9b9b788 Change initdb and CREATE DATABASE to actively reject attempts to create 18 years ago
Tom Lane e7889b83b7 Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE. 18 years ago
Tom Lane 4a78cdeb6b Support an optional asynchronous commit mode, in which we don't flush WAL 18 years ago
Tom Lane 867e2c91a0 Implement "distributed" checkpoints in which the checkpoint I/O is spread 18 years ago
Tom Lane bd0a260928 Make CREATE/DROP/RENAME DATABASE wait a little bit to see if other backends 18 years ago
Tom Lane ebb6bae539 Cancel pending fsync requests during WAL replay of DROP DATABASE, per bug 18 years ago
Tom Lane b9527e9840 First phase of plan-invalidation project: create a plan cache management 19 years ago
Tom Lane f44271176e Call pgstat_drop_database during DROP DATABASE, so that any stats file 19 years ago
Bruce Momjian 8b4ff8b6a1 Wording cleanup for error messages. Also change can't -> cannot. 19 years ago
Tom Lane eddbf39756 Extend yesterday's patch so that the bgwriter is also told to forget 19 years ago
Alvaro Herrera eb63cc3da8 Arrange for autovacuum to be killed when another operation wants to be alone 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 48188e1621 Fix recently-understood problems with handling of XID freezing, particularly 19 years ago
Tom Lane 1e758d5263 Add some code to CREATE DATABASE to check for pre-existing subdirectories 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 19 years ago
Alvaro Herrera d4cef0aa2a Improve vacuum code to track minimum Xids per table instead of per database. 19 years ago
Tom Lane 52667d56a3 Rethink the locking mechanisms used for CREATE/DROP/RENAME DATABASE. 19 years ago
Tom Lane cb98e6fb8f Create a syscache for pg_database-indexed-by-oid, and make use of it 19 years ago
Tom Lane 6d61cdec07 Clean up and document the API for XLogOpenRelation and XLogReadBuffer. 20 years ago
Tom Lane 0a20207060 Arrange to emit a description of the current XLOG record as error context 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian f9a726aa88 I've created a new shared catalog table pg_shdescription to store 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Andrew Dunstan 5b352d8e12 DROP DATABASE IF EXISTS variant 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 375e7d5579 Use a safer order of operations in dropdb(): rollbackable operations, 20 years ago
Tom Lane bf1e33d24a Fix unwanted denial of ALTER OWNER rights to superusers. There was some 20 years ago
Tom Lane 721e53785d Solve the problem of OID collisions by probing for duplicate OIDs 20 years ago
Tom Lane 558730ac6b Clean up CREATE DATABASE processing to make it more robust and get rid 20 years ago
Tom Lane d42cf5a42a Add per-user and per-database connection limit options. 20 years ago
Tom Lane aa1110624c Adjust permissions checking for ALTER OWNER commands: instead of 20 years ago
Neil Conway 40ffa1a14c Remove some dead code for handling XLOG_DBASE_CREATE_OLD and 20 years ago
Tom Lane 59d1b3d99e Track dependencies on shared objects (which is to say, roles; we already 20 years ago
Tom Lane 401de9c8be Improve the checkpoint signaling mechanism so that the bgwriter can tell 20 years ago