下面是依次执行POST、PUT、DELETE的日志记录结果: INFO:sqlalchemy.engine.Engine:select version()INFO:sqlalchemy.engine.Engine:select current_schema()INFO:sqlalchemy.engine.Engine:show sta
根据文档,engine.execute自动提交。但是,在下面的代码中运行时,COPY命令不会提交。当我在postgres命令行中直接运行完全相同的查询时,它可以工作。>省略的敏感细节):fromsqlalchemy import create_engine
### Set PSQL_PW, PSQL_IP, PSQL_PORT, DB
在像下面这样的表上执行注释时,它似乎从未提交过。INFO:sqlalchemy.engine.base.Engine:**COMMIT**INFO:sqlalchemy.engine.base.Engine:**COMMIT**
INFO:sqlalchemy.engine.base.Engine:COMMENT ON TA