diff options
| author | Bruce Momjian <bruce@momjian.us> | 2005-07-22 03:46:34 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2005-07-22 03:46:34 +0000 |
| commit | d5f1e08c0cfa59572393bdc0cf844a91b08c7321 (patch) | |
| tree | bb0ef7a9526b385665febcbe7bb1d636b305d30c /src/backend/utils/adt/timestamp.c | |
| parent | e9c44bd38226b9de03ae55e77168b77dc767a9a4 (diff) | |
| download | postgresql-d5f1e08c0cfa59572393bdc0cf844a91b08c7321.tar.gz | |
Code spacing improvement, particularly *tm spacing.
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
| -rw-r--r-- | src/backend/utils/adt/timestamp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index 09002d9f1e..84746f6bf0 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/src/backend/utils/adt/timestamp.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.138 2005/07/21 18:06:12 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.139 2005/07/22 03:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1059,7 +1059,7 @@ timestamp2tm(Timestamp dt, int *tzp, struct pg_tm *tm, fsec_t *fsec, char **tzn, * We have a brute force time zone per SQL99? Then use it without * change since we have already rotated to the time zone. */ - if ((attimezone==NULL) && HasCTZSet) + if ((attimezone == NULL) && HasCTZSet) { *tzp = CTimeZone; tm->tm_isdst = 0; @@ -1090,7 +1090,8 @@ timestamp2tm(Timestamp dt, int *tzp, struct pg_tm *tm, fsec_t *fsec, char **tzn, utime = (pg_time_t) dt; if ((Timestamp) utime == dt) { - struct pg_tm *tx = pg_localtime(&utime, (attimezone!=NULL)?attimezone:global_timezone); + struct pg_tm *tx = pg_localtime(&utime, (attimezone != NULL) ? + attimezone : global_timezone); tm->tm_year = tx->tm_year + 1900; tm->tm_mon = tx->tm_mon + 1; |
