Worked on the compatibility with PG 9.4
Having full compatibility across different version will be hard mostly
because of using shared memory segment which differ between postgres
major versions.
Will now focus on getting a custom background worker to store
historical data.