Home » PostgreSQL Tutorial » PostgreSQL UPSERT using INSERT ON CONFLICT Statement Summary: in this tutorial, you will learn how to use the PostgreSQL upsert feature to insert a new row into a table if the row does not exist, or update an existing row if it already exists. Introduction to the PostgreSQL UPSERT StatementUpsert is a combination of update and insert. The upsert allows you to update an