aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
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
commit164d6338785b0b6c5a1ac30ee3e4b63bd77441ba (patch)
tree3b9339db9c417ec5bb5a317b416de54628e4469f /src/tutorial/funcs.c
parented9b3606dadb461aac57e41ac509f3892095a394 (diff)
downloadpostgresql-164d6338785b0b6c5a1ac30ee3e4b63bd77441ba.tar.gz
postgresql-164d6338785b0b6c5a1ac30ee3e4b63bd77441ba.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 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions