Separate block sampling functions
Simon Riggs <simon@2ndQuadrant.com>
Separate block sampling functions Refactoring ahead of tablesample patch Requested and reviewed by Michael Paquier Petr Jelinek
Files
| Path | Change | +/− |
|---|---|---|
| contrib/file_fdw/file_fdw.c | modified | +5 −4 |
| contrib/postgres_fdw/postgres_fdw.c | modified | +5 −5 |
| src/backend/commands/analyze.c | modified | +6 −219 |
| src/backend/utils/misc/Makefile | modified | +1 −1 |
| src/backend/utils/misc/sampling.c | added | +226 −0 |
| src/include/commands/vacuum.h | modified | +0 −3 |
| src/include/utils/sampling.h | added | +44 −0 |