date format

This commit is contained in:
Trowbridge 2020-02-25 12:03:11 -05:00
parent 03e532857d
commit a835ed7b3e

View File

@ -3,7 +3,7 @@ agg as (
SELECT
ol.doc->>'user' "user"
,quota_rep_descr
,to_char((ol.doc->>'stamp')::timestamptz,'DD/Mon HH:MI:SS') stamp
,to_char((ol.doc->>'stamp')::timestamptz,'Mon-DD HH:MI:SS') stamp
,ol.doc->>'tag' tag
,ol.doc->>'message' "comment"
,jsonb_pretty(ol.doc) doc