Printing to screen in .sql file postgres
问题 This sounds like it should be a very easy thing to do, however, I cannot find ANYWHERE how to do it. I have a .sql file I am building for an upgrade to my application that alters tables, inserts/updates, etc. I want to write to the screen after every command finishes. So, for instance if I have something like: insert into X... I want to see something like, Starting to insert into table X Finished inserting into table X Is this possible in Postgres? 回答1: If you're just feeding a big pile of