continuous query from postgres added