mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
pgindent new initdb.c from Tom.
This commit is contained in:
parent
b9f5c93b75
commit
90823299ad
@ -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.5 2003/11/13 15:01:40 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.6 2003/11/13 20:12:47 momjian Exp $
|
||||||
*
|
*
|
||||||
* TODO:
|
* TODO:
|
||||||
* - clean up find_postgres code and return values
|
* - clean up find_postgres code and return values
|
||||||
@ -122,6 +122,7 @@ static void canonicalize_path(char *);
|
|||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
static char *expanded_path(char *);
|
static char *expanded_path(char *);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define expanded_path(x) (x)
|
#define expanded_path(x) (x)
|
||||||
#endif
|
#endif
|
||||||
@ -816,6 +817,7 @@ find_postgres(char *path)
|
|||||||
return FIND_NOT_REGFILE;
|
return FIND_NOT_REGFILE;
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Only unix requires this test, on WIN32 an .exe file should be
|
* Only unix requires this test, on WIN32 an .exe file should be
|
||||||
* executable
|
* executable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user