Commit Graph

4 Commits

Author SHA1 Message Date
Wolfgang Walther
9035573855
nixosTests.postgresql: move all postgresql related nixosTests into one folder
This makes it possible to run all those tests at once by building
nixosTests.postgresql and allow a simple entry to ci/OWNERS for all
tests.
2024-11-09 18:24:52 +01:00
Maximilian Bosch
0418996c96
pg-dump-anon: use latest postgresql available
While reviewing #352966 I noticed that the pg_anonymizer test fails for
postgresql 17. The reason for that is that `pkgs.postgresql` is v16 and
using its psql to connect against a v17 database doesn't work.

I decided that we'll just use the latest available package in here. I
don't want to introduce another attribute (`postgresql_latest`), if
there are too many instances of that we're blocked on adding new
postgresql majors directly to master again which is the current status
quo. With the test rework in #352966 it's also way easier to catch this.
2024-11-08 16:55:18 +01:00
Maximilian Bosch
958d23307b
pg-dump-anon: 1.3.1 -> 1.3.2
ChangeLog: https://gitlab.com/dalibo/postgresql_anonymizer/-/blob/1.3.2/CHANGELOG.md?ref_type=tags#20240321--132---fix-pg_catalog-bindings
2024-06-08 15:34:07 +02:00
Maximilian Bosch
0cdaede144
pg-dump-anon: init at 1.3.1
This is a Go program inside the sources of `postgresql_anonymizer` that
allows to perform database dumps, but with anonymized data. I figured
that it's a little awkward to have a client program to be part of the
extension package.

So I decided to create a second package called `pg-dump-anon`. Since
it's one repository, both share `version` & `src`.

Also extended the VM test to make sure we're getting properly anonymized
data when dumping with `pg_dump_anon`.
2024-03-13 16:15:54 +01:00