1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Resync the source tree, commit some things that were missing (pqcomprim.c) and

bring in Thomas's updates for the date/time code...
This commit is contained in:
Marc G. Fournier
1997-03-18 16:36:50 +00:00
parent 7d02575ad1
commit b5e16b1869
6 changed files with 152 additions and 70 deletions

View File

@@ -11,7 +11,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.5 1997/01/26 15:32:06 scrappy Exp $
* $Id: miscadmin.h,v 1.6 1997/03/18 16:36:23 scrappy Exp $
*
* NOTES
* some of the information in this file will be moved to
@@ -57,7 +57,18 @@ extern bool IsPostmaster;
extern short DebugLvl;
extern int EuroDates;
/* Date/Time Configuration
* HasCTZSet if client timezone is specified by client.
* EuroDates if client prefers dates interpreted and written w/European conventions.
* CTimeZone is the timezone offset in seconds.
* CTZName is the timezone label.
*/
extern bool EuroDates;
extern bool HasCTZSet;
extern bool CDayLight;
extern int CTimeZone;
extern char CTZName[];
extern Oid LastOidProcessed; /* for query rewrite */

View File

@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dt.h,v 1.1 1997/03/14 23:33:23 scrappy Exp $
* $Id: dt.h,v 1.2 1997/03/18 16:36:50 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -174,8 +174,6 @@ typedef struct {
char value; /* this may be unsigned, alas */
} datetkn;
extern int EuroDates;
extern void GetCurrentTime(struct tm *tm);
/*