How to UPDATE table from csv file?
问题 How to update table from csv file in PostgreSQL? (version 9.2.4) Copy command is for insert. But I need to update table. How can I update table from csv file without temp table? I don't want to copy to temp table from csv file and update table from temp table. And no merge command like Oracle? 回答1: The simple and fast way is with a temporary staging table, like detailed in this closely related answer: How to update selected rows with values from a CSV file in Postgres? If you don't "want"