使用 psycopg_pool 作为 LangGraph checkpointer 连接池,并在启动时执行 setup() 确保表存在;Windows 下切换为 SelectorEventLoopPolicy 以兼容 psycopg 异步模式。