opnsense-ports/databases/pgtune/files/patch-pgtune
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
693 B
Text

--- pgtune.orig 2009-10-28 21:16:39.000000000 -0400
+++ pgtune 2011-08-01 15:32:10.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/local/bin/python
"""
pgtune
@@ -277,7 +277,7 @@
if platform.architecture()[0]=="64bit": platformBits=64
# TODO Support handling versions other than 8.4
# TODO Allow passing in platform bit size
- settingDumpFile=os.path.join(settings_dir,"pg_settings-8.4-"+str(platformBits))
+ settingDumpFile="/usr/local/share/pgtune/settings/pg_settings-8.4-"+str(platformBits)
settingColumns=["name","setting","unit","category","short_desc",
"extra_desc","context","vartype","min_val","max_val","enumvals",
"boot_val"]