pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: milos.urbanek@email.cz
To: pgsql-bugs@postgresql.org
Subject: BUG #14587: Foreign constraint with newline blows up pg_restore catalogue
Date: Fri, 10 Mar 2017 15:53:18 +0000
Message-ID: <20170310155318.1425.30483@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14587
Logged by:          Milos Urbanek
Email address:      milos.urbanek@email.cz
PostgreSQL version: 9.6.2
Operating system:   Windows
Description:        

As repoted in https://trac.osgeo.org/postgis/ticket/3727

If there is some newline in e.g. foreign key contraint, the second command
below fails:

pg_restore -l test.backup > test.backup.lst

pg_restore -L test.backup.lst > test2.out

With error like:

pg_restore: [archiver] could not find entry for ID 6


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (3+ messages)  latest in thread

Message-ID: <20170310155318.1425.30483@wrigleys.postgresql.org>
Permalink:  ../20170310155318.1425.30483@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170310155318.1425.30483@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: milos.urbanek@email.cz
  Subject: Re: BUG #14587: Foreign constraint with newline blows up pg_restore catalogue
  In-Reply-To: <20170310155318.1425.30483@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox