Re: Decomposing xml into table

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Surafel Temesgen <surafel3000(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Decomposing xml into table
Date: 2020-06-23 12:08:52
Message-ID: CAFj8pRAwFDnnfOwGaSUYYLf6q59qfBingeuN1t5CJMpmWoCSZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

út 23. 6. 2020 v 13:59 odesílatel Surafel Temesgen <surafel3000(at)gmail(dot)com>
napsal:

> hey Pavel
>
> On Mon, Jun 22, 2020 at 9:59 PM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>>
>> Did you try the xmltable function?
>>
>>
> yes i know it but i am proposing changing given xml data in to relational
> form and insert it to desired table at once
>

It is a question of how common it is. Because there is no common format
for xml, I agree with Tom, so it should not be part of core. A import from
XML can be done with COPY PROGRAM

or some special tools like https://github.com/okbob/pgimportdoc

There is too high variability so some special external tool will be better
(more cleaner, more user friendly).

Regards

Pavel

> regards
> Surafel
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josef Šimánek 2020-06-23 12:22:07 Re: [PATCH] Initial progress reporting for COPY command
Previous Message Pavel Stehule 2020-06-23 12:02:45 Re: [PATCH] Initial progress reporting for COPY command