Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: [OT] SQL "on duplicate key" custom action

by Corion (Patriarch)
on Oct 21, 2019 at 16:34 UTC ( [id://11107770]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [OT] SQL "on duplicate key" custom action
in thread [OT] SQL "on duplicate key" custom action

No, sorry - I don't have a tested version, and I'm not on the machine where I did the searches.

I worked from the Postgres 12 documentation and some Stackoverflow response, but I don't find them now :( I think it should be a before update trigger and the statement would be insert or update maybe. But again, I didn't test any of this, sorry.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11107770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2024-04-23 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found