1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/databases/pgtune/files/patch-pgtune
Martin Wilke 3669ea7bcf pgtune takes the wimpy default postgresql.conf and expands
the database server to be as powerful as the hardware it's
being deployed on.

WWW: http://pgfoundry.org/projects/pgtune/

PR:		ports/134546
Submitted by:	Matthieu BOUTHORS
2009-05-17 10:14:08 +00:00

18 lines
686 B
Plaintext

--- pgtune-original 2009-01-26 17:11:05.000000000 +0100
+++ pgtune 2009-02-18 08:20:59.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/local/bin/python
"""
pgtune
@@ -248,7 +248,7 @@
if platform.architecture()[0]=="64bit": platformBits=64
# TODO Base this file location on where this script is at
# TODO Support handling versions other than 8.4
- settingDumpFile="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"]