Fix bug when USE_REPLICATION_SLOT is not used.
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 19 Apr 2018 05:17:37 +0000 (14:17 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 19 Apr 2018 05:17:37 +0000 (14:17 +0900)
src/test/pgpool_setup

index 94d5cbd83e4c4b96d3393bafe092cfa037fe4002..258807cecc9a13834ec5155af20867852a29e730 100755 (executable)
@@ -664,7 +664,7 @@ case $MODE in
 esac
 
 # If USE_REPLICATION_SLOT is provided as an environment variable, turn on -s
-if [ $USE_REPLICATION_SLOT = "true" ];then
+if [ a$USE_REPLICATION_SLOT = a"true" ];then
     USE_SLOT="true"
 fi
 #-------------------------------------------