mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Used modified version of indent that understands over 100 typedefs.
This commit is contained in:
@ -209,7 +209,7 @@ timestamp_datetime(time_t timestamp)
|
||||
if (!PointerIsValid(result = PALLOCTYPE(DateTime)))
|
||||
elog(WARN, "Memory allocation failed, can't convert timestamp to datetime", NULL);
|
||||
|
||||
tm = localtime((time_t *) & timestamp);
|
||||
tm = localtime((time_t *) ×tamp);
|
||||
tm->tm_year += 1900;
|
||||
tm->tm_mon += 1;
|
||||
|
||||
|
Reference in New Issue
Block a user