perl - Script using DBD::Pg inserts duplicates -


i have:

  • postgres-xc installation (three servers in cluster)
  • external script injecting data in bulk it

i use "insert table() values(),(),()" approach.

after days of working fine of sudden script started generate duplicates in database, longer works, more duplicating rows have.

i checked multiple times, same sql code generates works fine without issue if use directly via psql cli.

right now, i've changed bit, not have quadruple records each insert, still have double ones time after time, not many, enough make me nervous.

did worked dbd::pg , had similar issues?

my environment:

debian gnu/linux sid/unstable

perl:5.18.2

libdbd-pg-perl 3.0.0-1

any other perl library work postgresql?

update: realized behavior of postgres-xc, whether insert done script or within db (e.g. insert (select)) of them generate duplicates.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -