DO SELECT without RETURNING
DO SELECT exists to return rows, so the parser insists on RETURNING.
task
Run an insert with ON CONFLICT (sku) DO SELECT and no RETURNING.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
DO SELECT exists to return rows, so the parser insists on RETURNING.
Run an insert with ON CONFLICT (sku) DO SELECT and no RETURNING.