Prev: [HACKERS] disabling log_min_duration_statement from pg_dump?
Next: Visual Studio 2005, C-language function - avoiding hacks?
From: Fujii Masao on 8 Mar 2010 20:33 Hi, Currently pg_start_backup() accesses the shared ControlFile by using ControlFileLock with LW_EXCLUSIVE lock mode. But since that access is read-only operation, LW_SHARED should be chosen instead of LW_EXCLUSIVE. The attached patch changes the lock mode which pg_start_backup() uses. Is it worth applying this patch? Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center |