HansBambel commented on pull request #1821:
URL: https://github.com/apache/airflow/pull/1821#issuecomment-910291067
If anybody (like me) still faced this issue: you need to add
`autocommit=True` to the `PostgresOperator`:
```
vacuum = PostgresOperator(
task_id="vacuum-database",
postgres_conn_id=db_conn_id,
sql="VACUUM FULL;",
autocommit=True,
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]