1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Allow cancel from client of backend query. Change some int variables

to bool's.
This commit is contained in:
Bruce Momjian
1998-05-19 18:05:58 +00:00
parent ef567413d2
commit 07140ee024
10 changed files with 82 additions and 45 deletions

View File

@ -7,7 +7,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.40 1998/04/26 04:06:04 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.41 1998/05/19 18:05:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -312,8 +312,8 @@ BootstrapMain(int argc, char *argv[])
*/
/* Set defaults, to be overriden by explicit options below */
Quiet = 0;
Noversion = 0;
Quiet = false;
Noversion = false;
dbName = NULL;
DataDir = getenv("PGDATA"); /* Null if no PGDATA variable */
@ -325,19 +325,19 @@ BootstrapMain(int argc, char *argv[])
DataDir = optarg;
break;
case 'd':
DebugMode = 1; /* print out debugging info while parsing */
DebugMode = true; /* print out debugging info while parsing */
break;
case 'C':
Noversion = 1;
Noversion = true;
break;
case 'F':
fsyncOff = 1;
fsyncOff = true;
break;
case 'O':
override = true;
break;
case 'Q':
Quiet = 1;
Quiet = true;
break;
case 'P': /* specify port */
portFd = atoi(optarg);