Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6GTg-0006fS-1a for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Apr 2018 14:12:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f6GTe-0000gz-Uo for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Apr 2018 14:11:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6GJg-0005tz-T7 for pgsql-bugs@lists.postgresql.org; Wed, 11 Apr 2018 14:01:41 +0000 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f6GJZ-0000UH-PE for pgsql-bugs@lists.postgresql.org; Wed, 11 Apr 2018 14:01:39 +0000 Received: by mail-io0-x229.google.com with SMTP id d6so2485966iog.1 for ; Wed, 11 Apr 2018 07:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=mIPb67jCOB8CPfeOaDGYcWtt2mwkXH8CWR8gPktO24w=; b=Z2W4xaISbyk9wtnoxel/RAVoscKGqN6IcuX31Z4lI3b7K5azL1mZIQ94p2eicVlMVN KfvSaaorR5cWaxhx4SJOrp1WamqOBp9jF6hGrYJD0wk26sThH2Le/ilsxR2p8mm4tvRo BLiqUyb3+iJpP5vN4dgVX8AS7ndsG5k8Rdo8+ZZz0h4GMEedMzYI8mPsNLgMelmJKT6L lUqOgfSLOu+6xlBVeB9sTUir76eZCSvif6X//idyjjLte4B7fjm7edouDvqWSL5t1s5N X0d2EhWudHE+NnNRKTzH+EawldrMp7IgIFM3p1eJrTm6cOE4+NbE/ugBjwogYvJaRh2Y CtWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=mIPb67jCOB8CPfeOaDGYcWtt2mwkXH8CWR8gPktO24w=; b=NgZQoa7onAcfXj9UqCub/6Fyy3ba9ir9Qyt+2hr+LJjfLoijo1HMeUcEQSAoBFF8Mu RtrYL0b73fjp5LuWagW5utHTIK5xd7xB5RzW29AAOMAbxZxYwQtWkUnICxK03cMfLMVn CHo3b0fZabfx7/cv0S1+awXlLXAIl3/C2gxSeF1fV6cYyLZJbk32QVdmOlBm4H6f8u4n gzEsISiwG24GwQ28yxYeVxuVGp9RMCJwep7K0bhhiHwbgepCDXGtdEt5YuTYspx8+yoF 5zzpxeQjPaRCrcAB+QfxSe4RfQ+gsQ5QtbpZWcQ//uBrRh/foqDX87bx8RalGOyUCvQb H3ug== X-Gm-Message-State: ALQs6tCgI/YvF9OccPbxvPDA3pp23XZIXd5rXvnVfBJE+4lD4tSzcOXl 4+a5zN/WOufxpqP4NgtdCyQ= X-Google-Smtp-Source: AIpwx4/VydCo9BjiYPRC2jXF6UHbvwY8QmI4gpS0Gd9zNYov0sAq4ZcWwGSPKFnUXJ+cei/emQmv+A== X-Received: by 10.107.179.84 with SMTP id c81mr4441121iof.99.1523455290919; Wed, 11 Apr 2018 07:01:30 -0700 (PDT) Received: from [10.10.202.115] (galaxy.nixsolutions.com. [91.208.153.1]) by smtp.gmail.com with ESMTPSA id n7sm553679ioo.43.2018.04.11.07.01.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 07:01:29 -0700 (PDT) From: Chirkin Dmitry Message-Id: <5075314B-3499-4334-9B21-24ADF8894009@gmail.com> Content-Type: multipart/signed; boundary="Apple-Mail=_FE0FDEE7-E1C3-4FDF-8161-5106C335FA16"; protocol="application/pkcs7-signature"; micalg=sha1 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: BUG #15149: Invalid cache id = 42 Date: Wed, 11 Apr 2018 17:01:26 +0300 In-Reply-To: <24161.1523376668@sss.pgh.pa.us> Cc: pgsql-bugs@lists.postgresql.org To: Tom Lane References: <152337570402.31228.237601111670899842@wrigleys.postgresql.org> <24161.1523376668@sss.pgh.pa.us> X-Mailer: Apple Mail (2.3445.6.18) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_FE0FDEE7-E1C3-4FDF-8161-5106C335FA16 Content-Type: multipart/alternative; boundary="Apple-Mail=_5780B47D-F15E-4C0F-AA2F-9541C8E5750D" --Apple-Mail=_5780B47D-F15E-4C0F-AA2F-9541C8E5750D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Oh, I=E2=80=99m just a nodejs developer, is there any instructions which = I can follow to achieve this?=20 More details to come: cleaning table2 solves the issue. But this is not = the case for production envs beacause this data is really important. = Will try with vacuum full.=20 > 10 =D0=B0=D0=BF=D1=80. 2018 =D0=B3., =D0=B2 19:11, Tom Lane = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): >=20 > =3D?utf-8?q?PG_Bug_reporting_form?=3D writes: >> So, few days ago i've added step 6 and on step 7 i'm getting error: = Invalid >> cache id: 42=20 >> On 10.2 everything working fine but on 10.3 - i'm getting error.=20 >=20 > Odd. Could you set a breakpoint at errfinish() and get a backtrace > from the point of the error? >=20 > regards, tom lane --Apple-Mail=_5780B47D-F15E-4C0F-AA2F-9541C8E5750D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Oh, = I=E2=80=99m just a nodejs developer, is there any instructions which I = can follow to achieve this? 

More details to come: cleaning table2 solves the issue. But = this is not the case for production envs beacause this data is really = important. Will try with vacuum full. 


10 =D0=B0=D0=BF=D1=80. 2018 =D0=B3., =D0=B2 = 19:11, Tom Lane <tgl@sss.pgh.pa.us> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =BB(=D0=B0):

=3D?utf-8?q?PG_Bug_reporting_form?=3D <noreply@postgresql.org> writes:
So, few days ago i've = added step 6 and on step 7 i'm getting error: Invalid
cache = id: 42
On 10.2 everything working fine but on 10.3 - i'm = getting error.

Odd. =  Could you set a breakpoint at errfinish() and get a backtrace
from the point of the error?

regards, = tom lane

= --Apple-Mail=_5780B47D-F15E-4C0F-AA2F-9541C8E5750D-- --Apple-Mail=_FE0FDEE7-E1C3-4FDF-8161-5106C335FA16 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDXjCCA1ow ggJCoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwUjEaMBgGA1UEAwwRRG1pdHJ5IENoaXJraW4gQ0Ex CzAJBgNVBAYTAlVBMScwJQYJKoZIhvcNAQkBFhhkbWl0cnkuY2hpcmtpbkBnbWFpbC5jb20wHhcN MTcwNjEzMTQ0MzI3WhcNMTgwNjEzMTQ0MzI3WjBSMRowGAYDVQQDDBFEbWl0cnkgQ2hpcmtpbiBD QTELMAkGA1UEBhMCVUExJzAlBgkqhkiG9w0BCQEWGGRtaXRyeS5jaGlya2luQGdtYWlsLmNvbTCC ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANHeTlarxIBbOaI2KZg+dDg2TAnpt/hVH3QJ IUpwsDxBwS5x0ikxftEHT0rR6CgeCGf2ejlf0uppSUkqBEGL5rl1TQW9terdxH5SmTjU9iXuCgYs 45ffvxIHwk0IrCuHUhX4TLZ0NFzgG6AXsQJfqXSF4Dh7GIS+/992VQF1moT974Wgh8SSkTXFuKF6 k/s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