nixpkgs/nixos/tests/postgresql/wal2json/README.md
Euan Kemp 554ec1c0f0 nixos/tests: add postgresql wal2json test
This test should ensure wal2json functions.
I'm planning to upgrade wal2json, so it seems nice to have a test here.

It passes on my machine.
2024-09-14 05:17:49 +00:00

629 B

Data in this folder taken from the wal2json README's examples here

They are used under the terms of the BSD-3 License, a copy of which is included in this directory.

These files have been lightly modified in order to make their output more reproducible.

Changes:

  • \o /dev/null has been added before commands that print LSNs since LSNs aren't reproducible
  • now() has been replaced with a hardcoded timestamp string for reproducibility
  • The test is run with --quiet, and the expected output has been trimmed accordingly