Permalink
Browse files

Handle "=" signs in the settings values. Include

sample postgresql.conf file to insert difficult
cases into for regression testing purposes.
Bug reported by Marcin Stepnicki
  • Loading branch information...
1 parent 07ac996 commit 8544ed2e56129ef1681d7aac6f872abc94cdd768 Greg Smith committed Oct 28, 2009
Showing with 513 additions and 1 deletion.
  1. +1 −0 TODO
  2. +1 −1 pgtune
  3. +511 −0 postgresql.conf.sample
View
@@ -4,6 +4,7 @@ Features needed before V1.0 release
Settings information
Validate against min/max - stub
Figure out how to deal with delimiters - stub
+ For memory, handle the same memory input formats as the database
Format output so it looks nicer
Warning about listen_addresses if it's not set to '*'-input parameter?
Show original value in output
View
@@ -92,7 +92,7 @@ class PGConfigLine(object):
if equalIndex<0:
return
- name,value=line.split('=')
+ name,value=line.split('=',1)
name=name.strip()
value=value.strip()
self.name=name;
Oops, something went wrong. Retry.

0 comments on commit 8544ed2

Please sign in to comment.