Skip to content
Browse files

Merge pull request #1 from pkordylewski/master

Read pg_settings from the test database instead of the results one
  • Loading branch information...
2 parents 6e08c59 + 9f15f51 commit 07b890af3aab4c7c5f7d0ce412368825f92fc9c1 @gregs1104 committed Jun 14, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchwarmer
View
6 benchwarmer
@@ -214,7 +214,7 @@ fi
cp $BASEDIR/test-index.html index.html
-# Now that we're done plotting and computing stats, wipe the low-level
+# Now that we're done plotting and computing stats, wipe the low-level
# data we don't need anymore
$RESULTPSQL -q -c "truncate table timing"
@@ -232,9 +232,9 @@ $RESULTPSQL -c "select script,clients,round(tps) as tps,1000*round(avg_latency)/
echo Server $SERVERHOST, client $CLIENTHOST >> $SETTINGS
echo >> $SETTINGS
echo Server settings in postgresql.conf: >> $SETTINGS
-$RESULTPSQL -c "select name,current_setting(name) from pg_settings where source='configuration file' and not name in ('DateStyle','lc_messages','lc_monetary','lc_numeric','lc_time','listen_addresses','log_directory','log_rotation_age','log_rotation_size','log_truncate_on_rotation');" | grep -v " rows)" >> $SETTINGS
+$TESTPSQL -c "select name,current_setting(name) from pg_settings where source='configuration file' and not name in ('DateStyle','lc_messages','lc_monetary','lc_numeric','lc_time','listen_addresses','log_directory','log_rotation_age','log_rotation_size','log_truncate_on_rotation');" | grep -v " rows)" >> $SETTINGS
-# Operating system information
+# Operating system information
echo >> $SETTINGS
echo "benchmark client OS Configuration (may not be the same as the server)" >> $SETTINGS
uname -a >> $SETTINGS

0 comments on commit 07b890a

Please sign in to comment.
Something went wrong with that request. Please try again.