mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Rename internal variables DBName|dbName to dbname, for consistency.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.153 2003/05/06 04:16:35 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.154 2003/05/06 05:15:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -220,7 +220,7 @@ BootstrapMain(int argc, char *argv[])
|
||||
*/
|
||||
{
|
||||
int i;
|
||||
char *dbName;
|
||||
char *dbname;
|
||||
int flag;
|
||||
int xlogop = BS_XLOG_NOP;
|
||||
char *potential_DataDir = NULL;
|
||||
@ -244,7 +244,7 @@ BootstrapMain(int argc, char *argv[])
|
||||
*/
|
||||
|
||||
/* Set defaults, to be overriden by explicit options below */
|
||||
dbName = NULL;
|
||||
dbname = NULL;
|
||||
if (!IsUnderPostmaster /* when exec || ExecBackend*/)
|
||||
{
|
||||
InitializeGUCOptions();
|
||||
@ -297,9 +297,9 @@ BootstrapMain(int argc, char *argv[])
|
||||
if (argc - optind != 1)
|
||||
usage();
|
||||
|
||||
dbName = argv[optind];
|
||||
dbname = argv[optind];
|
||||
|
||||
Assert(dbName);
|
||||
Assert(dbname);
|
||||
|
||||
if (IsUnderPostmaster && ExecBackend && MyProc /* ordinary backend */)
|
||||
{
|
||||
@ -426,7 +426,7 @@ BootstrapMain(int argc, char *argv[])
|
||||
/*
|
||||
* backend initialization
|
||||
*/
|
||||
InitPostgres(dbName, NULL);
|
||||
InitPostgres(dbname, NULL);
|
||||
|
||||
for (i = 0; i < MAXATTR; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user