FIX: Restorer was not extracting the patch version in dump file.

This commit is contained in:
Guo Xiang Tan 2018-03-16 11:09:13 +08:00
parent 158286287a
commit da8e15f954

View File

@ -262,7 +262,7 @@ module BackupRestore
failure_message: "Failed to check version of pg_dump used to generate the dump file"
)
output.match(/version (\d+(\.\d+)?)/)[1]
output.match(/version (\d+(\.\d+)+)/)[1]
end
def can_restore_into_different_schema?