mirror of https://github.com/citusdata/citus.git
fix to localtime
parent
b99d717799
commit
9da008388b
|
@ -74,8 +74,6 @@ send_sql_restorepoint_cmd(Datum main_arg)
|
||||||
Oid extensionOwner = InvalidOid;
|
Oid extensionOwner = InvalidOid;
|
||||||
int spiStatus;
|
int spiStatus;
|
||||||
|
|
||||||
tt = pg_localtime(&t, log_timezone);
|
|
||||||
|
|
||||||
initStringInfo(&sql);
|
initStringInfo(&sql);
|
||||||
if (RestorePointIntervalName != NULL)
|
if (RestorePointIntervalName != NULL)
|
||||||
appendStringInfo(&sql,"SELECT citus_create_restore_point('%s_%02d.%02d_%02d:00')",
|
appendStringInfo(&sql,"SELECT citus_create_restore_point('%s_%02d.%02d_%02d:00')",
|
||||||
|
|
Loading…
Reference in New Issue