postgres data container and database container functional