From 50781c6b2f3baa7d4b85404704aab38f23ab61ab Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 11 Dec 2023 10:58:24 -0500 Subject: [PATCH] debug inquirey --- sql/get_hist_debug.pg.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sql/get_hist_debug.pg.sql b/sql/get_hist_debug.pg.sql index 2f76851..67da137 100644 --- a/sql/get_hist_debug.pg.sql +++ b/sql/get_hist_debug.pg.sql @@ -1,5 +1,5 @@ WITH -sel AS (select 'v1:L..PLT..' _v1ds, 'DREAM WITH COLORS' _cust, 'UL.12000' _mold, 'D' _chan) +sel AS (select 'v1:L..PLT..' _v1ds, 'GRIFFIN' _cust, 'ULH12000' _mold, 'W' _chan) ,sort AS ( SELECT p.agglevel @@ -151,4 +151,5 @@ FROM --SELECT jsonb_pretty(jsonb_agg(doc)) FROM rel_sort --SELECT jsonb_pretty(jsonb_obj_aggc(doc)) FROM rel_sort--INTO _result FROM rel_sort WHERE rnk = 1; --SELECT * FROM rel_sort; -SELECT jsonb_obj_aggc(doc) FROM rel_sort WHERE rnk = 1; +SELECT * FROM flag +--SELECT jsonb_obj_aggc(doc) FROM rel_sort WHERE rnk = 1;