forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6e65454
committed
Don't bother to lock bufmgr partitions in pg_buffercache.
That makes the view a lot less disruptive to use on a production system.Without the locks, you don't get a consistent snapshot across all buffers,but that's OK. It wasn't a very useful guarantee in practice.Ivan Kartyshov, reviewed by Tomas Vondra and Robert Haas.Discusssion: <f9d6cab2-73a7-7a84-55a8-07dcb8516ae5@postgrespro.ru>1 parent6ad8ac6 commit6e65454
1 file changed
+4
-19
lines changedLines changed: 4 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 | 138 |
| |
148 | 139 |
| |
149 | 140 |
| |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
150 | 145 |
| |
151 | 146 |
| |
152 | 147 |
| |
| |||
179 | 174 |
| |
180 | 175 |
| |
181 | 176 |
| |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 | 177 |
| |
193 | 178 |
| |
194 | 179 |
| |
|
0 commit comments
Comments
(0)