Re: Question about xmloption and pg_restore
От | Robert Haas |
---|---|
Тема | Re: Question about xmloption and pg_restore |
Дата | |
Msg-id | CA+TgmoYgMwkp-t=ndrf+hf2h7jOe_hJdpzFUPokTLeFbV215vA@mail.gmail.com обсуждение исходный текст |
Ответ на | Fwd: Question about xmloption and pg_restore (Stefan Fercot <stefan.fercot@dalibo.com>) |
Ответы |
Re: Re: Question about xmloption and pg_restore
|
Список | pgsql-hackers |
On Thu, May 17, 2018 at 9:37 AM, Stefan Fercot <stefan.fercot@dalibo.com> wrote: > When restoring a plain SQL dump, we got the message : > > ERROR: invalid XML content > DETAIL: line 1: StartTag: invalid element name > <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> > ^ > CONTEXT: COPY layer_styles, line 1, column styleqml: "<!DOCTYPE qgis PUBLIC > 'http://mrcc.com/qgis.dtd' 'SYSTEM'> > > Adding "SET XML OPTION DOCUMENT;" in top of the dump file allows to restore > it. Hmm. I thought that xmloption = 'content' was supposed to be strictly more permissive than xmloption = 'document'. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: