forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite1b120a
committed
Only issue LOCK TABLE commands when necessary
Reviewing the cases where we need to LOCK a given table during a dump,it was pointed out by Tom that we really don't need to LOCK a table ifwe are only looking to dump the ACL for it, or certain othercomponents. After reviewing the queries run for all of the componentpieces, a list of components were determined to not require LOCK'ingof the table.This implements a check to avoid LOCK'ing those tables.Initial complaint from Rushabh Lathia, discussed with Robert and Tom,the patch is mine.1 parent5d58999 commite1b120a
2 files changed
+31
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5953 | 5953 |
| |
5954 | 5954 |
| |
5955 | 5955 |
| |
| 5956 | + | |
| 5957 | + | |
5956 | 5958 |
| |
5957 |
| - | |
| 5959 | + | |
| 5960 | + | |
5958 | 5961 |
| |
5959 | 5962 |
| |
5960 | 5963 |
| |
|
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
96 | 123 |
| |
97 | 124 |
| |
98 | 125 |
| |
|
0 commit comments
Comments
(0)