Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFSHu-00D50Z-V0 for pgsql-general@arkaria.postgresql.org; Mon, 25 Nov 2024 06:09:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFSGv-00CPFt-GE for pgsql-general@arkaria.postgresql.org; Mon, 25 Nov 2024 06:08:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFSGu-00CPFW-SH for pgsql-general@lists.postgresql.org; Mon, 25 Nov 2024 06:08:33 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tFSGs-003iKw-G7 for pgsql-general@lists.postgresql.org; Mon, 25 Nov 2024 06:08:32 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-2124ccf03edso38290505ad.2 for ; Sun, 24 Nov 2024 22:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mdxperience.com; s=google; t=1732514907; x=1733119707; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=uWmoW34u1cvI9hTqvW2bLZLUSrjLgHJ82XCLvvCpG1w=; b=iwLlyxAI4J5hyuBBM01+wug9WKTqr8lP9LJQ8cr5L7CJWNIwu9nfmpHsC1bCPRJYWx NYuXrPfLn/eRf8ZUj7pJVEPxv04aDgraT4JI3iqj1zr9tqroMHABFMdloz8LFxt9p8UY DT48pY+QS0R71OoBRa79s3Qv+ssTX0b9HfP9rCTxUYOqS7Fm94mPbF1Rds6402wFiFlK 8i7xqN8LYRp+bL581fei+PwuqJCLihQMjUGqvGhPmSrH+oYQCR2/Hgzb8WGBT3PthM0s 8rMRVCWDkXeHj8qQuUIZ8Jq48KMiHbh4YP8wwYNE9giJEpVY9s70YRfluRNLBPinnb1G E6Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732514907; x=1733119707; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uWmoW34u1cvI9hTqvW2bLZLUSrjLgHJ82XCLvvCpG1w=; b=bQlZpxaL8dskJAjjAdR2pOhm7R6hibYNtbCdacSMuuCe/bsy8aQJeTrtB+c2PkvNTS SxiZnFU/bgkbK7+w6qDPynmYu80edXNcpt/W3oxux4wvqQ7IIfGuKsttitZ2nEE0ouVN rHNjYbXMv92PBrniQu+Su04B0WkM7X0gKBWItwBADRw+fgMPgOVLh1J0HgH8chzftR35 l+VXg6k6GfiX5BaCQSjMl+tg9bHiWL1tg6PZrdFwG4qkwLMN2AEvcq2UsTM0hqpBM/ud LzNCO+0Zz/bDr8NQ6FJC/tRhmxzLDMZ++gTs65HrE2dfXemrhzr3YFgxZB9LgFDn/MB+ JQsA== X-Gm-Message-State: AOJu0YwT2M9Myd6cE7MnR3y/mit1aRzqD6BRTZfIcv9GCw89yMzv3hS5 WAZqvRXokWPHVSylXRslVVG4lreBpFst6DV2uczqpu4brn6sjcRPKzyAhf++91NiOABNWlLpvMJ d5O55DVU8KfMA/8+7fTqk1UWeSM08HFODbJERFy7rJ2h1oJtXncbMa2+ofOs= X-Gm-Gg: ASbGncvw/WH/8vYRjLOAOXiRL0igf60IL8NraifV7+FpsJJBzVowCAyz/OVix/zjbzr 4PP8fftHwdiK/eQJ1YGIGmwze1bGl X-Google-Smtp-Source: AGHT+IH6FBt8+x/1Ys2jSIYQkY5Am3ZYjP0ptpNDqETLzwiCsOm8GXXIdFAyZ3HeWm7q5dmjAc5+h395GMYcuv1sWXo= X-Received: by 2002:a17:902:cec2:b0:20d:2848:2bee with SMTP id d9443c01a7336-2129f762404mr139223755ad.16.1732514906914; Sun, 24 Nov 2024 22:08:26 -0800 (PST) MIME-Version: 1.0 From: Shaun Robinson Date: Mon, 25 Nov 2024 06:08:16 +0000 Message-ID: Subject: Error creating materialized view To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000009860f20627b68f33" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009860f20627b68f33 Content-Type: text/plain; charset="UTF-8" Hi, I'm currently testing an application with Postgres 17.2 and am getting an error when creating a materialized view which works in version 16 and below. The sql works fine running as a query, but adding the create materialized view breaks it. The error comes when calling a custom function and the error is that a relation doesn't exist (which it does as it works within the same query when not creating a view). Is this a known issue in the version 17.2? Thanks Shaun --0000000000009860f20627b68f33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm currently testing an applic= ation with Postgres 17.2 and am getting an error when creating a=C2=A0mater= ialized view which works in version 16 and below. The sql works fine runnin= g as a query, but adding the create=C2=A0materialized view breaks it.
=

The error comes when calling a custom function and the = error is that a relation doesn't exist (which it does as it works withi= n the same query when not creating a view).

Is thi= s a known issue in the version 17.2?

Thanks
<= div>Shaun
--0000000000009860f20627b68f33--