mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix bug: -D options implies -d option.
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
				
			|||||||
 * Copyright (c) 1994, Regents of the University of California
 | 
					 * Copyright (c) 1994, Regents of the University of California
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.11 1996/11/14 10:23:34 bryanh Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.12 1996/11/22 04:32:41 bryanh Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -319,6 +319,7 @@ BootstrapMain(int argc, char *argv[])
 | 
				
			|||||||
        switch (flag) {
 | 
					        switch (flag) {
 | 
				
			||||||
        case 'D':
 | 
					        case 'D':
 | 
				
			||||||
            DataDir = optarg;
 | 
					            DataDir = optarg;
 | 
				
			||||||
 | 
					            break;
 | 
				
			||||||
        case 'd':
 | 
					        case 'd':
 | 
				
			||||||
            DebugMode = 1; /* print out debugging info while parsing */
 | 
					            DebugMode = 1; /* print out debugging info while parsing */
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user