forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2dc53fe
committed
Refactor postgresImportForeignSchema to avoid code duplication.
Avoid repeating fragments of the query we're building, along thesame lines as recent cleanup in pg_dump. I got annoyed about thisbecauseaa769f8 broke my pending patch to change postgres_fdw'scollation handling, due to each of us having incompletely donethis same refactoring. Let's finish that job in hopes of havinga more stable base.1 parent537ca68 commit2dc53fe
1 file changed
+23
-27
lines changedLines changed: 23 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5287 | 5287 |
| |
5288 | 5288 |
| |
5289 | 5289 |
| |
5290 |
| - | |
| 5290 | + | |
| 5291 | + | |
5291 | 5292 |
| |
5292 | 5293 |
| |
5293 | 5294 |
| |
5294 | 5295 |
| |
5295 |
| - | |
5296 |
| - | |
| 5296 | + | |
5297 | 5297 |
| |
5298 | 5298 |
| |
5299 |
| - | |
5300 |
| - | |
| 5299 | + | |
5301 | 5300 |
| |
5302 | 5301 |
| |
5303 | 5302 |
| |
5304 | 5303 |
| |
5305 |
| - | |
5306 |
| - | |
5307 |
| - | |
5308 |
| - | |
5309 |
| - | |
5310 |
| - | |
5311 |
| - | |
5312 |
| - | |
5313 |
| - | |
| 5304 | + | |
| 5305 | + | |
| 5306 | + | |
| 5307 | + | |
| 5308 | + | |
| 5309 | + | |
| 5310 | + | |
| 5311 | + | |
| 5312 | + | |
| 5313 | + | |
| 5314 | + | |
| 5315 | + | |
| 5316 | + | |
| 5317 | + | |
| 5318 | + | |
| 5319 | + | |
| 5320 | + | |
5314 | 5321 |
| |
5315 | 5322 |
| |
5316 | 5323 |
| |
5317 | 5324 |
| |
5318 |
| - | |
5319 |
| - | |
5320 |
| - | |
5321 |
| - | |
5322 |
| - | |
5323 |
| - | |
5324 |
| - | |
5325 |
| - | |
5326 |
| - | |
5327 |
| - | |
5328 |
| - | |
5329 | 5325 |
| |
5330 | 5326 |
| |
5331 | 5327 |
| |
| |||
5405 | 5401 |
| |
5406 | 5402 |
| |
5407 | 5403 |
| |
5408 |
| - | |
| 5404 | + | |
5409 | 5405 |
| |
5410 |
| - | |
| 5406 | + | |
5411 | 5407 |
| |
5412 | 5408 |
| |
5413 | 5409 |
| |
|
0 commit comments
Comments
(0)