Commit 2a16121
Etsuro Fujita
postgres_fdw: Remove redundancy in postgresAcquireSampleRowsFunc().
Previously, in the loop in postgresAcquireSampleRowsFunc() to iterate
fetching rows from a given remote table, we redundantly 1) determined the
fetch size by parsing the table's server/table-level options and then 2)
constructed the fetch command; remove that redundancy.
Author: Etsuro Fujita
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/CAPmGK17_urk9qkLV65_iYMFw64z5qhdfhY=tMVV6Jg4KNYx8+w@mail.gmail.com1 parent e72489e commit 2a16121
1 file changed
+34
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4490 | 4490 | | |
4491 | 4491 | | |
4492 | 4492 | | |
| 4493 | + | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
4493 | 4497 | | |
4494 | 4498 | | |
4495 | 4499 | | |
4496 | 4500 | | |
4497 | 4501 | | |
4498 | 4502 | | |
| 4503 | + | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
| 4512 | + | |
| 4513 | + | |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
4499 | 4533 | | |
4500 | 4534 | | |
4501 | 4535 | | |
4502 | | - | |
4503 | | - | |
4504 | 4536 | | |
4505 | 4537 | | |
4506 | | - | |
4507 | 4538 | | |
4508 | 4539 | | |
4509 | 4540 | | |
| |||
4514 | 4545 | | |
4515 | 4546 | | |
4516 | 4547 | | |
4517 | | - | |
4518 | | - | |
4519 | | - | |
4520 | | - | |
4521 | | - | |
4522 | | - | |
4523 | | - | |
4524 | | - | |
4525 | | - | |
4526 | | - | |
4527 | | - | |
4528 | | - | |
4529 | | - | |
4530 | | - | |
4531 | | - | |
4532 | | - | |
4533 | | - | |
4534 | | - | |
4535 | | - | |
4536 | | - | |
4537 | | - | |
4538 | | - | |
4539 | | - | |
4540 | 4548 | | |
4541 | | - | |
4542 | | - | |
4543 | | - | |
4544 | 4549 | | |
4545 | 4550 | | |
4546 | 4551 | | |
| |||
0 commit comments