aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_utils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-27 14:29:12 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-27 14:29:12 -0400
commit0109ab27609c0d58c1eddc6b799077d0968083de (patch)
treec6b167cc4265e02c10d9090bc79aab8cf41b5ea8 /src/common/file_utils.c
parentfb03d08a89e81a68585f17fd8e7f21c618f4e851 (diff)
downloadpostgresql-0109ab27609c0d58c1eddc6b799077d0968083de.tar.gz
postgresql-0109ab27609c0d58c1eddc6b799077d0968083de.zip
Make struct ParallelSlot private within pg_dump/parallel.c.
The only field of this struct that other files have any need to touch is the pointer to the TocEntry a worker is working on. (Well, pg_backup_archiver.c is actually looking at workerStatus too, but that can be finessed by specifying that the TocEntry pointer is NULL for a non-busy worker.) Hence, move out the TocEntry pointers to a separate array within struct ParallelState, and then we can make struct ParallelSlot private. I noted the possibility of this previously, but hadn't got round to actually doing it. Discussion: <1188.1464544443@sss.pgh.pa.us>
Diffstat (limited to 'src/common/file_utils.c')
0 files changed, 0 insertions, 0 deletions