Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-496

Remove redundant calls to pfree

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 0.7.0
    • None
    • postgres-decoderbufs
    • None

      From duncan.sands:

      The call to MemoryContextReset frees all allocated memory in one fell swoop, so the calls to pfree are totally useless and just complicate the logic. Tested by streaming 100 million rows and observing that memory usage did not increase.

              Unassigned Unassigned
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: