diff --git a/python/lsst/consdb/utils.py b/python/lsst/consdb/utils.py index 3a3d0345..2c6369fd 100644 --- a/python/lsst/consdb/utils.py +++ b/python/lsst/consdb/utils.py @@ -52,9 +52,7 @@ def setup_postgres() -> sqlalchemy.Engine: logging.info(f"Connecting to {host} as {user} to {dbname}") pg_url = f"postgresql://{user}:{passwd}@{host}/{dbname}" else: - pg_url = os.environ.get( - "POSTGRES_URL", "postgresql://usdf-butler.slac.stanford.edu:5432/lsstdb1" - ) + pg_url = os.environ["POSTGRES_URL"] logging.info(f"Using POSTGRES_URL {user} {host} {dbname}") return sqlalchemy.create_engine(pg_url)