I want to add a comment to a number of columns from Python in a PostGreSQL database. If I run the statement that my Python script produces in a database cl
You did not commit your changes, so they are automatically rolled back. One way to do it is:
con.execute(text(stmt).execution_options(autocommit=True))