diff options
Diffstat (limited to 'src/test/regress/expected/json.out')
-rw-r--r-- | src/test/regress/expected/json.out | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/test/regress/expected/json.out b/src/test/regress/expected/json.out index 69b0a6ee6d6..c4156cf2a66 100644 --- a/src/test/regress/expected/json.out +++ b/src/test/regress/expected/json.out @@ -384,13 +384,17 @@ SELECT row_to_json(row((select array_agg(x) as d from generate_series(5,10) x)), (1 row) -- anyarray column -select to_json(histogram_bounds) histogram_bounds +analyze rows; +select attname, to_json(histogram_bounds) histogram_bounds from pg_stats -where attname = 'tmplname' and tablename = 'pg_pltemplate'; - histogram_bounds ---------------------------------------------------------------------------------------- - ["plperl","plperlu","plpgsql","plpython2u","plpython3u","plpythonu","pltcl","pltclu"] -(1 row) +where tablename = 'rows' and + schemaname = pg_my_temp_schema()::regnamespace::text +order by 1; + attname | histogram_bounds +---------+------------------------ + x | [1,2,3] + y | ["txt1","txt2","txt3"] +(2 rows) -- to_json, timestamps select to_json(timestamp '2014-05-28 12:22:35.614298'); |