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

Fails with KeyError: 'wal_buffers' using -V 9.1 against a 9.4.8 Pg (not supported I suppose) #20

Open
sammyjava opened this issue Jul 8, 2016 · 1 comment

Comments

@sammyjava
Copy link

[beans@intermine pgtune]$ psql --version
psql (PostgreSQL) 9.4.8

So that's what I'm running, but I tell pgtune that it's 9.1 since that's the latest settings file you've got in the repo:

[beans@intermine pgtune]$ ./pgtune -i postgresql.conf -o postgresql.conf.tuned -V 9.1 -c 100 -L
Traceback (most recent call last):
  File "./pgtune", line 698, in <module>
    sys.exit(main(sys.argv))
  File "./pgtune", line 687, in main
    wizard_tune(config, options, settings)
  File "./pgtune", line 593, in wizard_tune
    if settings.memory_unit(key):
  File "./pgtune", line 402, in memory_unit
    return (self.param_to_dict[setting])['memory_unit']
KeyError: 'wal_buffers'
@andreif
Copy link

andreif commented Apr 3, 2017

It will be fixed via e.g. #18.

You can also try andreif@allthethings which contains #18 and even some other fixes.

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