]> git.ipfire.org Git - thirdparty/postgresql.git/commit
test_escape: Fix handling of short options in getopt_long()
authorMichael Paquier <michael@paquier.xyz>
Wed, 19 Feb 2025 00:45:59 +0000 (09:45 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 19 Feb 2025 00:45:59 +0000 (09:45 +0900)
commit691c32ba4b194abf590ecf58baea46349f59f109
treee2ae522e6fa40caced86dac90534a07886a8e136
parente5cabe28006995d90cc9ebc613dad072c44c7f4a
test_escape: Fix handling of short options in getopt_long()

This addresses two errors in the module, based on the set of options
supported:
- '-c', for --conninfo, was not listed.
- '-f', for --force-unsupported, was not listed.

While on it, these are now listed in an alphabetical order.

Author: Japin Li
Discussion: https://postgr.es/m/ME0P300MB04451FB20CE0346A59C25CADB6FA2@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Backpatch-through: 13
src/test/modules/test_escape/test_escape.c