Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Interesting misbehavior of repalloc() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Interesting misbehavior of repalloc()
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Interesting misbehavior of repalloc()  (Gregory Stark <[email protected]>)
Responses Re: Interesting misbehavior of repalloc()
List pgsql-hackers
Gregory Stark <[email protected]> writes:
> We could also only do the realloc-in-place only if there isn't a 4k chunk in
> the 4k freelist. I'm imagining that usually there wouldn't be.

Or in general, if there's a free chunk of the right size then copy to
it, else consider realloc-in-place.  Counterintuitive but it might work.
I'm not sure how often there wouldn't be a free chunk though ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "April Lorenzen"
Date:
Subject: proper way to fix information_schema.key_column_usage view
Next
From: Bertram Scharpf
Date:
Subject: Re: Wrote a connect-by feature