Re: nested xml/json to table - Mailing list pgsql-general

From Wim Bertels
Subject Re: nested xml/json to table
Date
Msg-id 0d59af8d8b855c8f97796e611280b993ee261f7f.camel@ucll.be
Whole thread Raw
In response to Re: nested xml/json to table  (Thomas Kellerer <shammat@gmx.net>)
List pgsql-general
Thomas Kellerer schreef op vr 17-03-2023 om 11:21 [+0100]:
> Wim Bertels schrieb am 17.03.2023 um 11:05:
> > what would be the general idea: "easily" convert an hierarchical
> > structure like json or xml to a table; for example creating columns
> > by
> > appending the key-names when going doing down the three, using null
> > for
> > empty values, adding more columns as needed by the given structure.
> > (1-way operation)
> 
> 
> You can't have a function that returns a different set of columns
> each time you call it
> (without specifying the output columns - which you don't want).

Hello Thomas,

thanks for the feedback,
i was wondering in the likes of existing built-in functions or
extensions (not CREATE FUNCTION)

mvg,
Wim



pgsql-general by date:

Previous
From: Romain MAZIÈRE
Date:
Subject: Re: Delete values from JSON
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: Delete values from JSON