mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Cleanup needed for indent.
This commit is contained in:
		| @@ -10,7 +10,7 @@ | |||||||
| # | # | ||||||
| # | # | ||||||
| # IDENTIFICATION | # IDENTIFICATION | ||||||
| #    $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.6 1996/09/25 19:24:58 momjian Exp $ | #    $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.7 1997/09/06 00:22:36 momjian Exp $ | ||||||
| # | # | ||||||
| # NOTES | # NOTES | ||||||
| #    non-essential whitespace is removed from the generated file. | #    non-essential whitespace is removed from the generated file. | ||||||
| @@ -59,8 +59,8 @@ cat $SYSFILES | \ | |||||||
| sed -e 's/\/\*.*\*\///g' \ | sed -e 's/\/\*.*\*\///g' \ | ||||||
|     -e 's/;[ 	]*$//g'  \ |     -e 's/;[ 	]*$//g'  \ | ||||||
|     -e 's/^[ 	]*//' \ |     -e 's/^[ 	]*//' \ | ||||||
|     -e 's/\ Oid/\ oid/g' \ |     -e 's/\[ 	]Oid/\ oid/g' \ | ||||||
|     -e 's/\ NameData/\ name/g' \ |     -e 's/\[ 	]NameData/\ name/g' \ | ||||||
|     -e 's/^Oid/oid/g' \ |     -e 's/^Oid/oid/g' \ | ||||||
|     -e 's/^NameData/\name/g' \ |     -e 's/^NameData/\name/g' \ | ||||||
|     -e 's/(NameData/(name/g' \ |     -e 's/(NameData/(name/g' \ | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ | |||||||
|  * |  * | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * IDENTIFICATION | ||||||
|  *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.36 1997/09/05 18:11:12 momjian Exp $ |  *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.37 1997/09/06 00:22:44 momjian Exp $ | ||||||
|  * |  * | ||||||
|  *------------------------------------------------------------------------- |  *------------------------------------------------------------------------- | ||||||
|  */ |  */ | ||||||
| @@ -54,13 +54,13 @@ static int tm2timespan(struct tm *tm, double fsec, TimeSpan *span); | |||||||
|  |  | ||||||
| #define isleap(y) (((y % 4) == 0) && (((y % 100) != 0) || ((y % 400) == 0))) | #define isleap(y) (((y % 4) == 0) && (((y % 100) != 0) || ((y % 400) == 0))) | ||||||
|  |  | ||||||
| int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0} | int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0}; | ||||||
|  |  | ||||||
| char *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", | char *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", | ||||||
|  "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL} |  "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL}; | ||||||
|  |  | ||||||
| char *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday", | char *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday", | ||||||
|  "Thursday", "Friday", "Saturday", NULL} |  "Thursday", "Friday", "Saturday", NULL}; | ||||||
|  |  | ||||||
| /* TMODULO() | /* TMODULO() | ||||||
|  * Macro to replace modf(), which is broken on some platforms. |  * Macro to replace modf(), which is broken on some platforms. | ||||||
| @@ -1961,7 +1961,7 @@ static datetkn datetktbl[] = { | |||||||
| {	"zp6",		TZ,	NEG(36)},	/* GMT +6  hours. */ | {	"zp6",		TZ,	NEG(36)},	/* GMT +6  hours. */ | ||||||
| {	"z",		RESERV,	DTK_ZULU},	/* 00:00:00 */ | {	"z",		RESERV,	DTK_ZULU},	/* 00:00:00 */ | ||||||
| {	ZULU,		RESERV,	DTK_ZULU},	/* 00:00:00 */ | {	ZULU,		RESERV,	DTK_ZULU},	/* 00:00:00 */ | ||||||
| } | }; | ||||||
|  |  | ||||||
| static unsigned int szdatetktbl = sizeof datetktbl / sizeof datetktbl[0]; | static unsigned int szdatetktbl = sizeof datetktbl / sizeof datetktbl[0]; | ||||||
|  |  | ||||||
| @@ -2031,14 +2031,14 @@ static datetkn deltatktbl[] = { | |||||||
| {	"years",	UNITS,	DTK_YEAR},	/* "years" relative time units */ | {	"years",	UNITS,	DTK_YEAR},	/* "years" relative time units */ | ||||||
| {	"yr",		UNITS,	DTK_YEAR},	/* "year" relative time units */ | {	"yr",		UNITS,	DTK_YEAR},	/* "year" relative time units */ | ||||||
| {	"yrs",		UNITS,	DTK_YEAR},	/* "years" relative time units */ | {	"yrs",		UNITS,	DTK_YEAR},	/* "years" relative time units */ | ||||||
| } | }; | ||||||
|  |  | ||||||
| static unsigned int szdeltatktbl = sizeof deltatktbl / sizeof deltatktbl[0]; | static unsigned int szdeltatktbl = sizeof deltatktbl / sizeof deltatktbl[0]; | ||||||
|  |  | ||||||
| #if USE_DATE_CACHE | #if USE_DATE_CACHE | ||||||
| datetkn *datecache[MAXDATEFIELDS] = {NULL} | datetkn *datecache[MAXDATEFIELDS] = {NULL}; | ||||||
|  |  | ||||||
| datetkn *deltacache[MAXDATEFIELDS] = {NULL} | datetkn *deltacache[MAXDATEFIELDS] = {NULL}; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user