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

Remove redundant calls to pfree

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: