mirror of https://github.com/waku-org/nwaku.git
693a1778d1
* 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. |
||
---|---|---|
.. | ||
archive_utils.nim | ||
test_all.nim | ||
test_driver_postgres.nim | ||
test_driver_postgres_query.nim | ||
test_driver_queue.nim | ||
test_driver_queue_index.nim | ||
test_driver_queue_pagination.nim | ||
test_driver_queue_query.nim | ||
test_driver_sqlite.nim | ||
test_driver_sqlite_query.nim | ||
test_retention_policy.nim | ||
test_waku_archive.nim |