From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Charles Martin <ssappeals@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Trouble Upgrading Postgres
Date: Sun, 04 Nov 2018 10:12:48 +0100
Message-ID: <3992560c1d70bf5b7cbdc63eaa4316f3b1dc64c4.camel@cybertec.at> (raw)
In-Reply-To: <CAFw6=U1S3-HzC2Bf+X7aZtFU4DKjZAWbztkscTnw6_TzNkueZg@mail.gmail.com>
References: <CAFw6=U2oz9rTF0qa0LFMg91bu=hdisfu2-xXU1==D7yBif+2uw@mail.gmail.com>
<529c7e29-38eb-0b22-379a-f78e638b97bd@aklaver.com>
<CAFw6=U09NDUULsrtchBBLxA0z-nCqteUEhB_KODbKk9cymqeJg@mail.gmail.com>
<cafc1eb5-b54c-cb31-b085-5b7ff243e273@aklaver.com>
<CAFw6=U1S3-HzC2Bf+X7aZtFU4DKjZAWbztkscTnw6_TzNkueZg@mail.gmail.com>
Charles Martin wrote:
> When I do a pg_dump using PG 9.6, I got this:
>
> > pg_dump: Dumping the contents of table "docfile" failed: PQgetCopyData() failed.
> > pg_dump: Error message from server: server closed the connection unexpectedly
> > This probably means the server terminated abnormally
> > before or while processing the request.
> > pg_dump: The command was: COPY public.docfile (docfile_pkey, docfileoriginalname,
> > ordernumber, versionnum, docfilecontents, docfilepath, docfileextension, enddatetime,
> > endby, editnum, insby, insdatetime, modby, moddatetime, active, doc_fkey) TO stdout;
You probably have a corrupted database.
You should get that fixed first, then you can upgrade.
Maybe you should hire a professional for that.
The other alternative is that you hava a buggy extension installed
that causes PostgreSQL to crash.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, ssappeals@gmail.com, adrian.klaver@aklaver.com
Subject: Re: Trouble Upgrading Postgres
In-Reply-To: <3992560c1d70bf5b7cbdc63eaa4316f3b1dc64c4.camel@cybertec.at>
References: <CAFw6=U2oz9rTF0qa0LFMg91bu=hdisfu2-xXU1==D7yBif+2uw@mail.gmail.com> <529c7e29-38eb-0b22-379a-f78e638b97bd@aklaver.com> <CAFw6=U09NDUULsrtchBBLxA0z-nCqteUEhB_KODbKk9cymqeJg@mail.gmail.com> <cafc1eb5-b54c-cb31-b085-5b7ff243e273@aklaver.com> <CAFw6=U1S3-HzC2Bf+X7aZtFU4DKjZAWbztkscTnw6_TzNkueZg@mail.gmail.com> <3992560c1d70bf5b7cbdc63eaa4316f3b1dc64c4.camel@cybertec.at>
* 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