mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Fix lack of optreset.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
* This is a C implementation of the previous shell script for setting up a
|
* This is a C implementation of the previous shell script for setting up a
|
||||||
* PostgreSQL cluster location, and should be highly compatible with it.
|
* PostgreSQL cluster location, and should be highly compatible with it.
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.2 2003/11/10 22:52:10 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.3 2003/11/13 01:09:24 tgl Exp $
|
||||||
*
|
*
|
||||||
* TODO:
|
* TODO:
|
||||||
* - clean up find_postgres code and return values
|
* - clean up find_postgres code and return values
|
||||||
@@ -30,16 +30,19 @@
|
|||||||
|
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
|
|
||||||
#include "getopt_long.h"
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include "libpq/pqsignal.h"
|
#include "libpq/pqsignal.h"
|
||||||
#include "mb/pg_wchar.h"
|
#include "mb/pg_wchar.h"
|
||||||
|
#include "getopt_long.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_OPTRESET
|
||||||
|
int optreset;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* version string we expect back from postgres */
|
/* version string we expect back from postgres */
|
||||||
|
Reference in New Issue
Block a user