summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timezone/pgtz.c')
-rw-r--r--src/timezone/pgtz.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index baf9733395d..c28e6dbfad8 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -256,7 +256,7 @@ pg_tzset(const char *name)
*/
if (strcmp(uppername, "GMT") == 0)
{
- if (tzparse(uppername, &tzstate, TRUE) != 0)
+ if (tzparse(uppername, &tzstate, true) != 0)
{
/* This really, really should not happen ... */
elog(ERROR, "could not initialize GMT time zone");
@@ -264,9 +264,9 @@ pg_tzset(const char *name)
/* Use uppercase name as canonical */
strcpy(canonname, uppername);
}
- else if (tzload(uppername, canonname, &tzstate, TRUE) != 0)
+ else if (tzload(uppername, canonname, &tzstate, true) != 0)
{
- if (uppername[0] == ':' || tzparse(uppername, &tzstate, FALSE) != 0)
+ if (uppername[0] == ':' || tzparse(uppername, &tzstate, false) != 0)
{
/* Unknown timezone. Fail our call instead of loading GMT! */
return NULL;
@@ -460,7 +460,7 @@ pg_tzenumerate_next(pg_tzenum *dir)
* the cache
*/
if (tzload(fullname + dir->baselen, dir->tz.TZname, &dir->tz.state,
- TRUE) != 0)
+ true) != 0)
{
/* Zone could not be loaded, ignore it */
continue;