#949 replace other occurances of now() with LOCALTIMESTAMP

This commit is contained in:
Oliver Gorwits
2023-03-03 14:21:18 +00:00
parent d9a384d1d0
commit cbc32eb032
6 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ SELECT host(network (prefix) + sub.int)::inet AS ip,
NULL::text AS dns,
false::boolean AS active,
false::boolean AS node,
replace( date_trunc( 'minute', age( now(), NULL::timestamp ) ) ::text, 'mon', 'month') AS age,
replace( date_trunc( 'minute', age( LOCALTIMESTAMP, NULL::timestamp ) ) ::text, 'mon', 'month') AS age,
NULL::text AS vendor,
NULL::text AS nbname
FROM (