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

Use of uninitialized value in subtraction #37

Open
gmekhrenin opened this issue Nov 23, 2020 · 1 comment
Open

Use of uninitialized value in subtraction #37

gmekhrenin opened this issue Nov 23, 2020 · 1 comment

Comments

@gmekhrenin
Copy link

I get a lot of errors at startup
Use of uninitialized value in subtraction (-) at ./pgcompacttable line 1764.

./pgcompacttable --all --verbose -d database
Centos 7
Postgres 12.3

@Melkij
Copy link
Member

Melkij commented Nov 24, 2020

Hello

Hmm. I have not seen such errors before. We used pgcompacttable in a similar environment, so I think it's related to the database schema.

Could you produce reproducible example? I think restoring schema-only dump (pg_dump -s) in another database may still trigger this error. If so, dump can be reduced to some small example.

Also line 1764 in your copy of pgcompacttable look exactly as in https://github.com/dataegret/pgcompacttable/blob/master/bin/pgcompacttable#L1764 ? (to double-check the tool version)

PS: while --all is requested, -d database will be ignored.

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