1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add ecpg --help and --version. Renumber the exit status codes, which were

documented wrong.
This commit is contained in:
Peter Eisentraut
2001-08-24 22:37:36 +00:00
parent 9cf701f324
commit 7e20c35e1c
3 changed files with 67 additions and 25 deletions

View File

@ -80,10 +80,8 @@ extern ScanKeyword *ScanKeywordLookup(char *text);
/* return codes */
#define OK 0
#define PARSE_ERROR -1
#define ILLEGAL_OPTION -2
#define INDICATOR_NOT_ARRAY -3
#define NO_INCLUDE_FILE ENOENT
#define OUT_OF_MEMORY ENOMEM
#define ILLEGAL_OPTION 1
#define NO_INCLUDE_FILE 2
#define PARSE_ERROR 3
#define INDICATOR_NOT_ARRAY 4
#define OUT_OF_MEMORY 5