add warning when postgres support is disabled