Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A dump with postgres version 10 generates oid error #96

Open
Manju-George opened this issue Oct 30, 2020 · 1 comment
Open

A dump with postgres version 10 generates oid error #96

Manju-George opened this issue Oct 30, 2020 · 1 comment

Comments

@Manju-George
Copy link

Manju-George commented Oct 30, 2020

I could not generate a dump of my postgres tables. Here are few details:

  1. Version of Gonymizer: gonymizer (v1.2.0, build 10, build date:2019-08-01 03:23:35 +1000 AEST)

  2. Command that I ran: gonymizer -c anonymiser.json dump

  3. version of psql: psql (PostgreSQL) 12.4 (Ubuntu 12.4-0ubuntu0.20.04.1)

  4. version of postgres: 10

  5. Command executed with gonymizer:
    time="2020-10-21 18:46:38.179" level=debug msg="Running command: pg_dump --oids --no-owner --schema=public.* -f phi_dump.sql

  6. Errors seen: postgresql/12/bin/pg_dump: unrecognized option '--oids'

  7. Full Log: attached
    gonymizer_dump.log

This error is already communicated with Levi Junkert.

@Rodeoclash
Copy link

Just to expand on this, the version of pg_dump provided by the latest https://hub.docker.com/r/junkert/gonymizer Docker image is version 12 which doesn't support the --oids flag, making the image unsuitable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants