Remove unused var and lines
This commit is contained in:
parent
1d9817bf23
commit
e2c6ccc139
1 changed files with 3 additions and 7 deletions
|
|
@ -33,7 +33,6 @@ PACKAGE="postgresql"
|
|||
rlJournalStart
|
||||
rlPhaseStart FAIL "Setup"
|
||||
rlRun "rlImport database/postgresql"
|
||||
PGDATA="${postgresqlDataDir}";
|
||||
PACKAGES="$PACKAGES ${postgresqlPackagePrefix}pg_repack \
|
||||
${postgresqlPackagePrefix}${PACKAGE} \
|
||||
${postgresqlPackagePrefix}${PACKAGE}-contrib \
|
||||
|
|
@ -47,18 +46,15 @@ rlJournalStart
|
|||
rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory"
|
||||
rlRun "pushd $TmpDir"
|
||||
rlRun "postgresqlStart"
|
||||
#rlRun "sed -i -e \"s/#shared_preload_libraries = ''/shared_preload_libraries = 'pgaudit'/\" ${PGDATA}/postgresql.conf" 0 "Adding pgaudit to the shared_preload_libraries in the config file ..."
|
||||
#rlRun "postgresqlStop";
|
||||
#rlRun "postgresqlStart"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "postgresqlQuery \"DROP EXTENSION IF EXISTS pg_repack;\"";
|
||||
rlRun "postgresqlQuery \"CREATE DATABASE testrepack;\"" 0;
|
||||
rlRun "postgresqlQuery \"CREATE EXTENSION pg_repack;\" testrepack" 0;
|
||||
rlRun "postgresqlExec 'pgbench -i -s 50 testrepack' postgres"
|
||||
rlRun "postgresqlExec 'pg_repack --no-order --table pgbench_accounts testrepack -e' postgres"
|
||||
rlRun "postgresqlQuery \"DROP EXTENSION pg_repack;\" testrepack";
|
||||
rlRun "postgresqlExec 'pgbench -i -s 50 testrepack' postgres"
|
||||
rlRun "postgresqlExec 'pg_repack --no-order --table pgbench_accounts testrepack -e' postgres"
|
||||
rlRun "postgresqlQuery \"DROP EXTENSION pg_repack;\" testrepack";
|
||||
rlRun "postgresqlQuery \"DROP DATABASE testrepack;\"" 0;
|
||||
rlPhaseEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue