Skip to content

Commit d4eae72

Browse files
committed
This patch removes two unused global variables from globals.c
Neil Conway
1 parent 50869ef commit d4eae72

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/backend/utils/init/globals.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.67 2002/09/04 20:31:31 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.68 2002/10/03 17:07:53 momjian Exp $
1212
*
1313
* NOTES
1414
* Globals used all over the place should be declared here and not
@@ -66,10 +66,6 @@ bool CDayLight = false;
6666
int CTimeZone = 0;
6767
char CTZName[MAXTZLEN + 1] = "";
6868

69-
char DateFormat[20] = "%d-%m-%Y"; /* mjl: sizes! or better
70-
* malloc? XXX */
71-
char FloatFormat[20] = "%f";
72-
7369
bool enableFsync = true;
7470
bool allowSystemTableMods = false;
7571
int SortMem = 1024;

src/include/miscadmin.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: miscadmin.h,v 1.110 2002/09/05 18:28:46 petere Exp $
15+
* $Id: miscadmin.h,v 1.111 2002/10/03 17:07:53 momjian Exp $
1616
*
1717
* NOTES
1818
* some of the information in this file should be moved to
@@ -161,9 +161,6 @@ extern bool CDayLight;
161161
extern int CTimeZone;
162162
extern char CTZName[];
163163

164-
extern char FloatFormat[];
165-
extern char DateFormat[];
166-
167164
extern bool enableFsync;
168165
extern bool allowSystemTableMods;
169166
extern DLLIMPORT int SortMem;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy