Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0YXr-0006Iv-KH for pgsql-general@arkaria.postgresql.org; Sat, 08 Feb 2020 22:25:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j0YWq-00045U-Fx for pgsql-general@arkaria.postgresql.org; Sat, 08 Feb 2020 22:24:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0YWq-00045H-5Z for pgsql-general@lists.postgresql.org; Sat, 08 Feb 2020 22:24:44 +0000 Received: from mail.arcict.com ([91.183.106.63] helo=arcict.com) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1j0YWi-0006Ws-DY for pgsql-general@postgresql.org; Sat, 08 Feb 2020 22:24:43 +0000 Received: from [94.224.141.54] (account postgres@arcict.com HELO [192.168.212.142]) by arcict.com (CommuniGate Pro SMTP 6.2.12) with ESMTPSA id 4537692; Sat, 08 Feb 2020 23:24:35 +0100 From: Marc To: "Adrian Klaver" Cc: pgsql-general Subject: Re: Postgres 12.1 : UPPER() in WHERE clause restarts server Date: Sat, 08 Feb 2020 23:24:34 +0100 X-Mailer: MailMate (1.13.1r5678) Message-ID: In-Reply-To: References: <7f962c6c-936e-d023-cac9-b52edd663c14@aklaver.com> <7E885F9E-E149-44C5-82B4-E43E4311F46C@arcict.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_5BF34169-40FD-436F-B95F-CB8EA240032B_=" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=_MailMate_5BF34169-40FD-436F-B95F-CB8EA240032B_= Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable Adrian, Old production server was postgres 9.6 with Mac0S 10.9 so much older = than the =E2=80=9Cnew=E2=80=9D server. ( Now MacOS 10.14 Postgres 12.1 ) After sudden restart of the cpu we started having issues, part of the = data that is lost TOAST. . . and we also started having issues when = TRUNCATING certain tables. The tabel where Nick reported the = =E2=80=9CUPPER=E2=80=9D-issue was not =E2=80=9Cinvolved=E2=80=9D The data we restored today on the =E2=80=9Cnew=E2=80=9D server was from b= efore the = crash, and in our opinion =E2=80=9Chealthy=E2=80=9D, didn=E2=80=99t run i= nto any issue = importing it. Never had issues before, RAID system wasn=E2=80=99t giving any warnings = neither. We still presume an hardware failure, but haven=E2=80=99t been a= ble = to figure out what exactly. I=E2=80=99ll provide a log tomorrow in the morning CET. Regarding the stack trace we=E2=80=99ll dig in to it to see what we can c= ome = up with =C2=BF is downgrading possible ? We need to have a working system by = tomorrow evening CET. Thanks in advance, Marc On 8 Feb 2020, at 22:18, Adrian Klaver wrote: > On 2/8/20 12:28 PM, Marc wrote: >> Adrian, >> >> Everything was a clean install ( MacOS Mojave and Postgres ) >> >> Export and import were done with the latest version of PGAdmin. >> >> Please advise if we can provide you with anything ( logging etc . . . = >> ) >> >> >> Is there a possibility to downgrade to version 11 ? > > At this point hard to tell whether this a version issue or something = > else. Probably best not to introduce too many more moving parts at = > this time. > > Questions: > > 1) The OS and version you mention above is the same as on the = > production server below? > > 2) What where the exact issues you had on the production server? > The actual error messages would be very helpful. > > 3) Getting a stack trace of the UPPER(), LOWER() issue would be nice. = > For more info on that: > > Not that familiar with MacOS, so not sure if the Linux/BSD steps would = > apply or not, still: > > https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreS= QL_backend > > > > > >> >> We upgraded over the weekend because we experienced a crash on our = >> production server with =E2=80=9Ctoast=E2=80=9D issues as result. >> >> Thanks in advance, >> >> Marc >> >> > > > -- = > Adrian Klaver > adrian.klaver@aklaver.com ARC - your Apple service partner --=_MailMate_5BF34169-40FD-436F-B95F-CB8EA240032B_= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
<= p dir=3D"auto">Adrian,

Old production server was postgres 9.6 with Mac0S 10.9 so= much older than the =E2=80=9Cnew=E2=80=9D server. ( Now MacOS 10.14 Post= gres 12.1 )
After sudden restart of the cpu we started having issues, part of the dat= a that is lost TOAST. . . and we also started having issues when TRUNCAT= ING certain tables. The tabel where Nick reported the =E2=80=9CUPPER=E2=80= =9D-issue was not =E2=80=9Cinvolved=E2=80=9D

The data we restored today on the =E2=80=9Cnew=E2=80=9D s= erver was from before the crash, and in our opinion =E2=80=9Chealthy=E2=80= =9D, didn=E2=80=99t run into any issue importing it.

Never had issues before, RAID system wasn=E2=80=99t givin= g any warnings neither. We still presume an hardware failure, but haven=E2= =80=99t been able to figure out what exactly.

I=E2=80=99ll provide a log tomorrow in the morning CET.

Regarding the stack trace we=E2=80=99ll dig in to it to s= ee what we can come up with

=C2=BF is downgrading possible ? We need to have a worki= ng system by tomorrow evening CET.

Thanks in advance,


Marc



On 8 Feb 2020, at 22:18, Adrian Klaver wrote:

=

On 2/8/20 12:28 PM, Marc wrot= e:

Ad= rian,

Everything was a clean install ( MacOS Mojave and Postgres )

Export and import were done with the latest version of PGAdmin.

Please advise if we can provide you with anything ( logging etc . . . )

Is there a possibility to downgrade to version 11 ?

At this point hard to tell whether this a ve= rsion issue or something else. Probably best not to introduce too many mo= re moving parts at this time.

Questions:

1) The OS and version you mention above is the same as on the production = server below?

2) What where the exact issues you had on the production server?
The actual error messages would be very helpful.

3) Getting a stack trace of the UPPER(), LOWER() issue would be nice. For= more info on that:

Not that familiar with MacOS, so not sure if the Linux/BSD steps would ap= ply or not, still:

https://wiki.postgresql.org/wiki/Generating_a_stack_= trace_of_a_PostgreSQL_backend




We= upgraded over the weekend because we experienced a crash on our producti= on server with =E2=80=9Ctoast=E2=80=9D issues as result.

Thanks in advance,

Marc

--
Adrian Klaver
adrian.klaver@aklaver.com

=0D

=0D=0D=0D=0D=0D=0D=0D=0D=0D=0D=0D=0D=0D=0D<= tr>=0D=0D<= td>www.arcict.com=0D=0D=0D=0D=0D
ARC -= your Apple Authorised Service partnerH.D. Saviolaan 8
 B-1700 Dil= beek
 Belgium
info@arcict.com
tel. : +32 (0)2 466 50 00fax. : +32 (0)2 466 88 33=0D
=0D
=0D
--=_MailMate_5BF34169-40FD-436F-B95F-CB8EA240032B_=--