mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.18 2007/10/26 13:30:10 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.19 2007/11/15 21:14:46 momjian Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -122,7 +122,7 @@ detzcode(const char *codep)
|
||||
}
|
||||
|
||||
int
|
||||
tzload(const char *name, char *canonname, struct state *sp)
|
||||
tzload(const char *name, char *canonname, struct state * sp)
|
||||
{
|
||||
const char *p;
|
||||
int i;
|
||||
@ -549,10 +549,11 @@ tzparse(const char *name, struct state * sp, int lastditch)
|
||||
if (stdlen >= sizeof sp->chars)
|
||||
stdlen = (sizeof sp->chars) - 1;
|
||||
stdoffset = 0;
|
||||
|
||||
/*
|
||||
* Unlike the original zic library, do NOT invoke tzload() here;
|
||||
* we can't assume pg_open_tzfile() is sane yet, and we don't
|
||||
* care about leap seconds anyway.
|
||||
* Unlike the original zic library, do NOT invoke tzload() here; we
|
||||
* can't assume pg_open_tzfile() is sane yet, and we don't care about
|
||||
* leap seconds anyway.
|
||||
*/
|
||||
load_result = -1;
|
||||
}
|
||||
@ -1081,7 +1082,7 @@ pg_get_timezone_offset(const pg_tz *tz, long int *gmtoff)
|
||||
{
|
||||
/*
|
||||
* The zone could have more than one ttinfo, if it's historically used
|
||||
* more than one abbreviation. We return TRUE as long as they all have
|
||||
* more than one abbreviation. We return TRUE as long as they all have
|
||||
* the same gmtoff.
|
||||
*/
|
||||
const struct state *sp;
|
||||
|
Reference in New Issue
Block a user