Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kamfI-0003RN-Gc for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Nov 2020 21:19:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kamfH-0000mP-7J for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Nov 2020 21:19:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kamfF-0000mI-Tp for pgsql-bugs@lists.postgresql.org; Thu, 05 Nov 2020 21:19:27 +0000 Received: from mx0f-003aa502.gpphosted.com ([67.231.155.119]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kamfC-0006Ey-DF for pgsql-bugs@lists.postgresql.org; Thu, 05 Nov 2020 21:19:24 +0000 Received: from pps.filterd (m0214253.ppops.net [127.0.0.1]) by mx0f-003aa502.gpphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A5LGYfA024364 for ; Thu, 5 Nov 2020 21:19:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maxar.com; h=from : to : subject : date : message-id : content-type : mime-version; s=PPS040320; bh=0G1/caQOL4xJHSgGROF/P72T/xLD5DyEKRLPDJq9m28=; b=kwaUJ3sE9SWD7gdJlA2BDBCk5CrJm6/HrreUbtes8NPtc6oL7xrcqoHWXLi5vn23zUNt IyfIGSqwf4aY2H/1u93vOiayhVR54if6G63Z3l6U5HJiapgF55+YKgfQ3P+N8/usel5j YybZ3B7S+l3I6zCV8YohJwKEBz3SDMC8gplm/Woen9vT37z71pZBWygi5p32plotlPYP keangD/1O8zZv5C6qah5Ww7Pn0MF4frcKE7do6YX3d49snWBEP5lvR3GiBX6owe+Kymu IGvjZjZhF51a+LUjJGTdkCG9qSwADe3WvxDnMoFD2H3rxk6WtcaS47FevD3ncuzCu4rx bg== Received: from usg02-cy1-obe.outbound.protection.office365.us (mail-cy1usg02lp0181.outbound.protection.office365.us [23.103.199.181]) by mx0f-003aa502.gpphosted.com with ESMTP id 34gw3qgs3y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 05 Nov 2020 21:19:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=SaJVgFuOTY5tYmo7HX6fSjCGs46U64x28sLKpoSqwNQQGxt2pvWQaXivd5b4tB6J7JcNR/3gWHa7AA+3wASDHb2tJiHETn9B4zo8M5xxnuIaCTy2hE/elXfOGtVLmgdCnLuCZSX/VE7ZFuAp5vFDdMkjBWwy7M355sqanbvQ4Q3zstE9NNDp99/VKepA679MmVKaaXyoVs7MJ/XjJQD9fYmSCCBugClRVr3hFcZ+zyyhL2/xgpWqks0J0wONrYqIA+OIBb3gF8O75RAm5MD1GUbDrisHKu6zU87KvLQ6eoDV3diM/WsKw9TuHgixU5X6B2CnEac4Qwf1qDbwXFiqVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0G1/caQOL4xJHSgGROF/P72T/xLD5DyEKRLPDJq9m28=; b=c/f6W6catqFB91QcjpQLWzb/Rfy23aoFQPu9JWTrBmK3OrqHG5mjP6pMTUVRfXTuxEWqLzgTTRUuJkvAwYFWuFieJVjCMKUZXguo0mzQqbbZhX/qFF5QwcmIRdFuhsCJ3q3DnXyG++2sit2DW4U7cWn5oRfG2OvnLA7bMNLJ6nawe3UrQn5i7YMYq6dZEeyIf5HUzJj/tqjg5zdGrRLjSJt19G6UPq+e8z70sPr6N8mF3SmxuLGZsba6hT14b1A8DPUKOyTPKedcunjESMlQRNaDSeLFkAg4ZjhGikZuV/q6wBRKU5XutkH0mk1AsJv1ZGF+IFrgO9RcwVI4KOhO+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=maxar.com; dmarc=pass action=none header.from=maxar.com; dkim=pass header.d=maxar.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxrgcc.onmicrosoft.us; s=selector1-mxrgcc-onmicrosoft-us; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0G1/caQOL4xJHSgGROF/P72T/xLD5DyEKRLPDJq9m28=; b=DGsJSvHdQFQETSrfd54Nisc6Um/B95b9G1Vw6oaIcljPu/okVDp1Lag7GEKt/+NaWLzSVItEKNZrd1bGRCPT4OFXRmQiVy1qtRFFGStH24nB5KL8tmnPf4PpqueikKCSlgtoOeiG/67VhIDqELD/gthPVaGsNTF5tjg53YNReJ8= Received: from DM3P110MB0265.NAMP110.PROD.OUTLOOK.COM (23.103.32.148) by DM3P110MB0458.NAMP110.PROD.OUTLOOK.COM (52.145.9.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.34; Thu, 5 Nov 2020 21:19:17 +0000 Received: from DM3P110MB0265.NAMP110.PROD.OUTLOOK.COM ([23.103.32.148]) by DM3P110MB0265.NAMP110.PROD.OUTLOOK.COM ([23.103.32.148]) with mapi id 15.20.3412.037; Thu, 5 Nov 2020 21:19:17 +0000 From: "Burgess, Freddie" To: "pgsql-bugs@lists.postgresql.org" Subject: pg_dump error attempting to upgrade from PostgreSQL 10 to PostgreSQL 12 Thread-Topic: pg_dump error attempting to upgrade from PostgreSQL 10 to PostgreSQL 12 Thread-Index: AQHWs7iKshVDEHWYQk22qPrcPEo8qg== Date: Thu, 5 Nov 2020 21:19:17 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.postgresql.org; dkim=none (message not signed) header.d=none;lists.postgresql.org; dmarc=none action=none header.from=maxar.com; x-originating-ip: [158.184.209.19] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0279f88a-c042-497e-97c3-08d881d0743d x-ms-traffictypediagnostic: DM3P110MB0458: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM3P110MB0265.NAMP110.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(366004)(498600001)(66446008)(66556008)(76116006)(86362001)(64756008)(956004)(5660300002)(55016002)(9686003)(83380400001)(33656002)(19627405001)(66476007)(8936002)(7696005)(186003)(71200400001)(52536014)(6916009)(6506007)(2906002)(26005)(66946007)(8676002);DIR:OUT;SFP:1101; x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_DM3P110MB0265AC329BFBD64AB2ADF78BE6EE0DM3P110MB0265NAMP_" MIME-Version: 1.0 X-OriginatorOrg: maxar.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM3P110MB0265.NAMP110.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 0279f88a-c042-497e-97c3-08d881d0743d X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2020 21:19:17.3500 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c060e2d5-60f7-4304-8054-f9143e84620c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3P110MB0458 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-05_15:2020-11-05,2020-11-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 malwarescore=0 phishscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011050138 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_DM3P110MB0265AC329BFBD64AB2ADF78BE6EE0DM3P110MB0265NAMP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Simple steps: BACKUP: pg_dump -U postgres -d > sherlock.dmp <- From the pg10 = instance RESTORE: psql -U postgres -d -1 -f sherlock.dmp <- On the pg12 i= nstance Postgres Log: free(): invalid pointer free(): invalid pointer 2020-11-05 14:07:33.784 EST [26] LOG: background worker "parallel worker" = (PID 150) was terminated by signal 6: Aborted 2020-11-05 14:07:33.784 EST [26] LOG: terminating any other active server = processes 2020-11-05 14:07:33.784 EST [32] WARNING: terminating connection because o= f crash of another server process 2020-11-05 14:07:33.784 EST [32] DETAIL: The postmaster has commanded this= server process to roll back the current transaction and exit, because anot= her server process exited abnormally and possibly corrupted shared memory. 2020-11-05 14:07:33.784 EST [32] HINT: In a moment you should be able to r= econnect to the database and repeat your command. 2020-11-05 14:07:33.784 EST [61] WARNING: terminating connection because o= f crash of another server process 2020-11-05 14:07:33.784 EST [61] DETAIL: The postmaster has commanded this= server process to roll back the current transaction and exit, because anot= her server process exited abnormally and possibly corrupted shared memory. 2020-11-05 14:07:33.784 EST [61] HINT: In a moment you should be able to r= econnect to the database and repeat your command. 2020-11-05 14:07:34.699 EST [26] LOG: all server processes terminated; rei= nitializing 2020-11-05 14:07:42.266 EST [154] LOG: database system was interrupted; la= st known up at 2020-11-05 14:06:02 EST 2020-11-05 14:08:05.855 EST [154] LOG: database system was not properly sh= ut down; automatic recovery in progress 2020-11-05 14:08:05.859 EST [154] LOG: redo starts at 7E/93B22C8 2020-11-05 14:08:15.931 EST [154] LOG: invalid record length at 7F/74ECBE3= 0: wanted 24, got 0 2020-11-05 14:08:15.931 EST [154] LOG: redo done at 7F/74ECBDF8 2020-11-05 14:08:41.673 EST [26] LOG: database system is ready to accept c= onnections PostgreSQL is installed on a docker container, running on a EC2 instance wi= th 256 GB of memory This electronic communication and any attachments may contain confidential = and proprietary information of Maxar, Inc. If you are not the intended reci= pient, or an agent or employee responsible for delivering this communicatio= n to the intended recipient, or if you have received this communication in = error, please do not print, copy, retransmit, disseminate or otherwise use = the information. Please indicate to the sender that you have received this = communication in error, and delete the copy you received. Maxar reserves the right to monitor any electronic communication sent or re= ceived by its employees, agents or representatives. --_000_DM3P110MB0265AC329BFBD64AB2ADF78BE6EE0DM3P110MB0265NAMP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Simple steps:

BACKUP: pg_dump -U postgres -d <database> > sherlock.dmp  <= ;- From the pg10 instance
RESTORE: psql -U postgres -d <database> -1 -f sherlock.dmp <- On t= he pg12 instance

Postgres Log:
free(): invalid po=
inter
free(): invalid pointer
2020-11-05 14:07:33.784 EST [26] LOG: &= nbsp;background worker "parallel worker" (PID 150) was terminated= by signal 6: Aborted
2020-11-05 14:07:33.784 EST [26] LOG:  termin= ating any other active server processes
2020-11-05 14:07:33.784 EST [32]= WARNING:  terminating connection because of crash of another server p= rocess
2020-11-05 14:07:33.784 EST [32] DETAIL:  The postmaster has= commanded this server process to roll back the current transaction and exi= t, because another server process exited abnormally and possibly corrupted = shared memory.
2020-11-05 14:07:33.784 EST [32] HINT:  In a moment = you should be able to reconnect to the database and repeat your command.2020-11-05 14:07:33.784 EST [61] WARNING:  terminating connection bec= ause of crash of another server process
2020-11-05 14:07:33.784 EST [61]= DETAIL:  The postmaster has commanded this server process to roll bac= k the current transaction and exit, because another server process exited a= bnormally and possibly corrupted shared memory.
2020-11-05 14:07:33.784 = EST [61] HINT:  In a moment you should be able to reconnect to the dat= abase and repeat your command.
2020-11-05 14:07:34.699 EST [26] LOG: &nb= sp;all server processes terminated; reinitializing
2020-11-05 14:07:42.2= 66 EST [154] LOG:  database system was interrupted; last known up at 2= 020-11-05 14:06:02 EST
2020-11-05 14:08:05.855 EST [154] LOG:  data= base system was not properly shut down; automatic recovery in progress
2= 020-11-05 14:08:05.859 EST [154] LOG:  redo starts at 7E/93B22C8
20= 20-11-05 14:08:15.931 EST [154] LOG:  invalid record length at 7F/74EC= BE30: wanted 24, got 0
2020-11-05 14:08:15.931 EST [154] LOG:  redo= done at 7F/74ECBDF8
2020-11-05 14:08:41.673 EST [26] LOG:  databas= e system is ready to accept connections

PostgreSQL is installed on a docker container, running on a EC2 instance wi= th 256 GB of memory



This electronic communication and any attachments may contain confidential = and proprietary information of Maxar, Inc. If you are not the intended reci= pient, or an agent or employee responsible for delivering this communicatio= n to the intended recipient, or if you have received this communication in error, please do not print, cop= y, retransmit, disseminate or otherwise use the information. Please indicat= e to the sender that you have received this communication in error, and del= ete the copy you received.

Maxar reserves the right to monitor any electronic communication sent or re= ceived by its employees, agents or representatives. --_000_DM3P110MB0265AC329BFBD64AB2ADF78BE6EE0DM3P110MB0265NAMP_--