From 73300b653784c34f20df2f796f4d1236b0ca5447 Mon Sep 17 00:00:00 2001 From: John Krauss Date: Wed, 13 Apr 2016 11:00:26 -0400 Subject: [PATCH] add missing high-income column --- src/pg/sql/41_observatory_augmentation.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pg/sql/41_observatory_augmentation.sql b/src/pg/sql/41_observatory_augmentation.sql index d6c5f11..35d616b 100644 --- a/src/pg/sql/41_observatory_augmentation.sql +++ b/src/pg/sql/41_observatory_augmentation.sql @@ -109,7 +109,8 @@ RETURNS TABLE( income_75000_99999 NUMERIC, income_100000_124999 NUMERIC, income_125000_149999 NUMERIC, - income_150000_199999 NUMERIC) + income_150000_199999 NUMERIC, + income_200000_or_more NUMERIC) AS $$ DECLARE target_cols text[]; @@ -202,7 +203,8 @@ BEGIN 'income_75000_99999', 'income_100000_124999', 'income_125000_149999', - 'income_150000_199999']; + 'income_150000_199999', + 'income_200000_or_more']; q := 'WITH a As ( SELECT