aboutsummaryrefslogtreecommitdiff
path: root/contrib/start-scripts/macos/postgres-wrapper.sh
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-11-16 11:16:53 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-11-16 11:16:53 -0500
commit4b02e935fee881eab1f4fabdbebccedfa57b4ddd (patch)
tree309edbdcb04dae0693e7bf9274e163355076b687 /contrib/start-scripts/macos/postgres-wrapper.sh
parent619a8c47da7279c186bb57cc16b26ad011366b73 (diff)
downloadpostgresql-4b02e935fee881eab1f4fabdbebccedfa57b4ddd.tar.gz
postgresql-4b02e935fee881eab1f4fabdbebccedfa57b4ddd.zip
Fix bogus logic for checking data dirs' versions within pg_upgrade.
Commit 9be95ef15 failed to cure all of the redundancy here: we were actually calling get_major_server_version() three times for each of the old and new data directories. While that's not enormously expensive, it's still sloppy. A. Akenteva Discussion: https://postgr.es/m/f9266a85d918a3cf3a386b5148aee666@postgrespro.ru
Diffstat (limited to 'contrib/start-scripts/macos/postgres-wrapper.sh')
0 files changed, 0 insertions, 0 deletions