postgresql is incrementing an update by 2 ?
Posted
by John Tyler
on Stack Overflow
See other posts from Stack Overflow
or by John Tyler
Published on 2010-06-15T16:57:28Z
Indexed on
2010/06/15
17:32 UTC
Read the original article
Hit count: 272
I'm migrating our model to postgresql for the FTS and data integrity
update myschema.counters set counter_count= (counter_count+1) where counter_id =?
Works as expected in mysql, however in postgres it is incrementing by 2 each time? It is simple int field I believe, I don't have anything special going on.
© Stack Overflow or respective owner