3 ms·
"DO UPDATE SET description=description;" I think that should be: "DO UPDATE SET description=excluded.description;" And doesn't it also need an inference clau
by jeffdavis 11y ago
"DO UPDATE SET description=description;"
I think that should be:
"DO UPDATE SET description=excluded.description;"
And doesn't it also need an inference clause or constraint specification for DO UPDATE?
Please update example code to be self-contained, so that readers can copy/paste.
The example itself -- upserting product descriptions from another data source -- is a great one though.
- craigkerstiens 11y agoHi, Jeff Will update as soon as I'm at a machine, but yes of course you're correct.