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 1p4mDK-0004E6-37 for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Dec 2022 17:03:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p4mDI-0002U4-TF for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Dec 2022 17:03:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4mDI-0002Rg-HG for pgsql-bugs@lists.postgresql.org; Mon, 12 Dec 2022 17:03:36 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p4mD9-0000d2-Nm for pgsql-bugs@lists.postgresql.org; Mon, 12 Dec 2022 17:03:35 +0000 Received: by mail-pj1-x102a.google.com with SMTP id q17-20020a17090aa01100b002194cba32e9so515153pjp.1 for ; Mon, 12 Dec 2022 09:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=FbISlDAYjp8vJlXWUD+i7zCTx5CZdEL8gC4on0mSgVQ=; b=qLataXwWNzGaOKkIUg4eGtyaX35CJ5A5yiHI1UmJTrCrEuyAHCoUBRnzo+tJkd8WoL ViRkjLKKsGwksZjhhDKsUCJxbx10xe4y4VsNfM2Uae8Kd2QviUMO9rM+ipbh8MGXL6xn 9IMWaKi4yjMQt/6X4qvS+veQvulT7RdfBy/rOswE87rg3C6Bsan+2kqh9HOq4WNEVEuc neiLStbuThteM2l0vNo51g/H/SAxKxUhXYqvK3MGTj/sdX3fk+x4NpLZYOJ+KY5skWqR MjzhxvuTUFOH6HXG1xmuUto2UrsTyZEphAHy0P/VuZu07oORMXQoLqk/KvEJYc0zIR/t uFyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FbISlDAYjp8vJlXWUD+i7zCTx5CZdEL8gC4on0mSgVQ=; b=x8gqcrqaAA1+sSVY3O9AmC3bVsQDkMCz8LorsSlEHjCSAVweMlYUXjyGA8+L0EObzg zV/b5mOJNhuA+DbI3ZSV+fEU4ZZM32Et0SvU1rgIdJtxPDayvO0w/aixBTGvIXm99B01 xJZKFCGY1DOAWeNxoqCqy64sd8xkG2QfV7DLpI1YL/cUjGHI2h73rM/gNLYo2GmYAChz Yk2r0+3WV0CU7IRhaXVgknXN/yPENgiafCN7rOrt6/cAaZ5Is/3y1HM4eggLrThMY+/r Us2KKlr86mGtRP/s2UQ7ugigGLVSeTENTNSDnv8oEof1L2AqZt476kkfpWMrnCbke+9r YvGA== X-Gm-Message-State: ANoB5pnNMn53o+IdiYPoE37x/f26j0aUGD/EaOwLAeA6OiGTmtK5e3Fu NMGEX0WvrhfnxOuq0bHEnSvZtqlrndUqTeC1 X-Google-Smtp-Source: AA0mqf7vWtV9K/Q5lslwNaMGyelRt38MxlkCfHkWwxYngwo25NH5B9pdFheYZmspwMCsKrJQb29r1w== X-Received: by 2002:a17:90a:bd10:b0:221:6db6:651e with SMTP id y16-20020a17090abd1000b002216db6651emr1933692pjr.31.1670864605495; Mon, 12 Dec 2022 09:03:25 -0800 (PST) Received: from [172.18.7.9] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id ms13-20020a17090b234d00b00218a4795b0dsm5692071pjb.34.2022.12.12.09.03.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 09:03:24 -0800 (PST) Message-ID: <9532f9b62c1a833b0f714223e031bb00e3752dde.camel@j-davis.com> Subject: Re: BUG #17714: Refresh materialized view does not update all date From: Jeff Davis To: ext-adarsh.kumar@elisa.fi, pgsql-bugs@lists.postgresql.org Date: Mon, 12 Dec 2022 09:03:23 -0800 In-Reply-To: <17714-54abb478f42a2250@postgresql.org> References: <17714-54abb478f42a2250@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2022-12-12 at 10:34 +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: >=20 > Bug reference:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 17714 > Logged by:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 adarsh k= umar > Email address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ext-adarsh.kumar@elisa.fi > PostgreSQL version: 13.5 > Operating system:=C2=A0=C2=A0 Red Hat Enterprise Linux release 8.7 (Ootpa= ) > Description:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 >=20 > We are using Materialized view in our environment and the updates > seem to be > incremental in nature, i.e. data older that a specific date is not > getting > updated.=20 > we tried manual refresh also , but it does not seem to resolve the > issue.=20 Are you able to provide a self-contained illustration of the problem in SQL? --=20 Jeff Davis PostgreSQL Contributor Team - AWS