Add -V option to backend, to show version, since --version doesn't seem
Peter Eisentraut <peter_e@gmx.net>
Add -V option to backend, to show version, since --version doesn't seem to work everywhere. Also, on FreeBSD you need to set the optreset variable to 1 before parsing the command line a second time with getopt().
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +72 −38 |
| configure.in | modified | +10 −0 |
| src/backend/postmaster/postmaster.c | modified | +11 −4 |
| src/backend/tcop/postgres.c | modified | +7 −3 |
| src/bin/initdb/initdb.sh | modified | +4 −4 |
| src/include/config.h.in | modified | +3 −1 |