aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2016-03-11 11:08:01 +0100
committerMagnus Hagander <magnus@hagander.net>2016-03-11 11:15:12 +0100
commit38c83c9b7569378d864d8915e291716b8bec15f2 (patch)
tree1bd74adad635b071024708f90d591074bf125ec0 /src/include/postgres.h
parent73e7e49da3b23a15cd84f003e11ad7d55ad80da7 (diff)
downloadpostgresql-38c83c9b7569378d864d8915e291716b8bec15f2.tar.gz
postgresql-38c83c9b7569378d864d8915e291716b8bec15f2.zip
Refactor receivelog.c parameters
Much cruft had accumulated over time with a large number of parameters passed down between functions very deep. With this refactoring, instead introduce a StreamCtl structure that holds the parameters, and pass around a pointer to this structure instead. This makes it much easier to add or remove fields that are needed deeper down in the implementation without having to modify every function header in the file. Patch by me after much nagging from Andres Reviewed by Craig Ringer and Daniel Gustafsson
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions