Actually no data should be lost. The extension is only for face/object detection as such and thumbnails as well as other meta info is unrelated, but without the postgres extension enabled, the app just won't start fully which is why it appears that things are gone. After enabling the extension you can manually retrigger all jobs directly or just wait for the app to catch up.