aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-07-06 09:16:17 +0900
committerMichael Paquier <michael@paquier.xyz>2020-07-06 09:16:17 +0900
commit404b912c5cab05d4a2ddac85696a300e00783c73 (patch)
tree4a7d279fafb1907d1a7958e854c1dfc289c5d73e /src/backend/access/gist/gistbuild.c
parentfe2e206cdb00a2d5dcebc3c8e8119017392d9781 (diff)
downloadpostgresql-404b912c5cab05d4a2ddac85696a300e00783c73.tar.gz
postgresql-404b912c5cab05d4a2ddac85696a300e00783c73.zip
Improve perl script in MSVC to build binaries
This commit includes two improvements for build.pl in src/tools/msvc/: - Fix two warnings related to $ARGV[0] being uninitialized, something that happens when calling build.pl (or build.bat) without arguments to compile all the components with a release quality. - If calling the script with more than two arguments, exit immediately and show a new help output. build.pl was not failing in this case before this commit, and the extra arguments were just ignored, but the new behavior helps in understanding how to run the script without looking at the documentation for the Windows builds. Reported-by: Ranier Vilela Author: Michael Paquier Reviewed-by: Juan José Santamaría Flecha, David Zhang Discussion: https://postgr.es/m/CAEudQAo38dfR_0Ugt2OHy4mq-6Hz93XPSBAGEUV67RhKdgp8Zg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions