nwaku/waku/waku_archive/driver/postgres_driver
Ivan FB 693a1778d1
chore: Better postgres duplicate insert (#2535)
* postgres_driver: add ON CONFLICT DO NOTHING in the insert statement
* test_driver_postgres: adapt test to ON CONFLICT DO NOTHING
  The insert does not fail when duplicate, it returns a positive response
  when doing 'put' of a duplicated row. The test is adapted so that
  we just check that the number of messages doesn't grow after
  trying to add a duplicated row.
2024-03-18 15:59:45 +01:00
..
migrations.nim Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
partitions_manager.nim Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
postgres_driver.nim chore: Better postgres duplicate insert (#2535) 2024-03-18 15:59:45 +01:00
postgres_healthcheck.nim Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00