HelloIn Czech Postgres mailing list was user request for serialization to json without null values.He needs a similar behave like XMLFOREST has - it ignores NULLsIn some situations and conversions, when your table is +/- sparse matrix, this request is validpostgres=# select hstore(omega) from omega; hstore ───────────────────────────────── "a"=>"10", "b"=>"20", "c"=>NULL "a"=>NULL, "b"=>"20", "c"=>"30"(2 rows)Proposed functionpostgres=# select hstore(omega, ignore_nulls := true) from omega; hstore ───────────────────────────────── "a"=>"10", "b"=>"20" "b"=>"20", "c"=>"30" (2 rows)What do you thinking about this proposal?RegardsPavel
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных