"Guillaume Pungeot" <gpungeot@gmail.com> writes:
> I assume that each postgresql process manage its own cache but that there is
> no global cache. Am I right ?
No, you aren't.
Are you sure you're not shutting down the postmaster? Just exiting
individual sessions shouldn't result in anything getting discarded
from shared buffers.
regards, tom lane