OSDN Git Service

pg_start_backup() can use a share lock to lock ControlFileLock
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 10 Mar 2010 02:04:48 +0000 (02:04 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 10 Mar 2010 02:04:48 +0000 (02:04 +0000)
commit17d8de0e6102d288a0745cb30499411c2e7ad213
treefbb5e587d4e79f3522bdeea243a991e6deb1517b
parent8c9a120f6b1e181812a31830416488bac2f8ba92
pg_start_backup() can use a share lock to lock ControlFileLock
instead of an exclusive lock.

The change is almost for code cleanup. Since there seems to be no
performance benefits from it, backports should not be needed.

Fujii Masao
src/backend/access/transam/xlog.c