forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit88a0fc2
Update extension lookup routines to use the syscache
The following routines are changed to use the syscache entries added forpg_extension in490f869:- get_extension_oid()- get_extension_name()- get_extension_schema()A catalog scan is costly and could easily lead to a noticeableperformance impact when called once or more per query, so this is goingto be helpful for developers for extension data lookups.Author: Andrei LepikhovReviewed-by: Jelte Fennema-NioDiscussion:https://postgr.es/m/529295b2-6ba9-4dae-acd1-20a9c6fb8f9a@gmail.com1 parent90c2f57 commit88a0fc2
1 file changed
+13
-69
lines changedLines changed: 13 additions & 69 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
| |||
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 | 149 |
| |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
| 150 | + | |
| 151 | + | |
174 | 152 |
| |
175 | 153 |
| |
176 | 154 |
| |
| |||
190 | 168 |
| |
191 | 169 |
| |
192 | 170 |
| |
193 |
| - | |
194 |
| - | |
195 | 171 |
| |
196 |
| - | |
197 | 172 |
| |
198 |
| - | |
| 173 | + | |
199 | 174 |
| |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
| 175 | + | |
| 176 | + | |
204 | 177 |
| |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 |
| - | |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
| 178 | + | |
| 179 | + | |
219 | 180 |
| |
220 | 181 |
| |
221 | 182 |
| |
| |||
229 | 190 |
| |
230 | 191 |
| |
231 | 192 |
| |
232 |
| - | |
233 |
| - | |
234 | 193 |
| |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 | 194 |
| |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
| 195 | + | |
243 | 196 |
| |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
| 197 | + | |
| 198 | + | |
256 | 199 |
| |
257 |
| - | |
| 200 | + | |
| 201 | + | |
258 | 202 |
| |
259 | 203 |
| |
260 | 204 |
| |
|
0 commit comments
Comments
(0)