Re: Bypassing NULL elements in row_to_json function

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bypassing NULL elements in row_to_json function
Date: 2016-04-08 18:10:13
Message-ID: CAOzAqu+ZPZeQzf51=UjiNPVuEOy-enDthe0D4aYOSUALzONe8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It looks like json_strip_nulls() may be what I need, I'm currently on 9.3,
which doesn't have that function but may be in a position to upgrade to 9.5
this summer. I think the apps that would be receiving the data can deal
with any resulting 'holes' in the data set by just setting them to null.
--
Mike Nolan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christophe Pettus 2016-04-08 19:15:27 pg_upgrade with an extension name change
Previous Message John R Pierce 2016-04-08 17:28:42 Re: Postgresql 9.3.4 file system compatibility