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 1to3kP-005Qna-G5 for pgsql-general@arkaria.postgresql.org; Fri, 28 Feb 2025 17:02:02 +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 1to3kP-00Ah8V-F6 for pgsql-general@arkaria.postgresql.org; Fri, 28 Feb 2025 17:02:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1to3kP-00Ah8J-0O for pgsql-general@lists.postgresql.org; Fri, 28 Feb 2025 17:01:59 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1to3kL-000Chy-1T for pgsql-general@postgresql.org; Fri, 28 Feb 2025 17:01:58 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2235908a30aso10681175ad.3 for ; Fri, 28 Feb 2025 09:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740762117; x=1741366917; darn=postgresql.org; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=AA3nrVRt5RTLjxDBUaAbIuNbt5+NuQmLWo9HWGEGu6w=; b=kIIjf6q3ccfxU8FQQKJkFYPmZ2BVKoVGtWEvrAjXwSy1VhCX4OD1cmV9FUxrG9V8JI Fqgmd9jrbtXVXJDun4P5PoO76ocaUxIXG+WJzPli/5cFueM9Ue2IF3VMpLfNoT1I8Iw7 X0HkCSPYp6xzVHoVn6u+4VP+MxYC3vcwZI1QQEUSa2stSVIxWTjCpkopjSXG8+b9ronH c7M/DXU3dmB8XbHjoMmn7+nyHF1BRCl7+pFRLU2D+CwkZrCh9+qIaLn0e9m6ztXB0uLN RtOOxskaInDzj3qhhUm6c4KugPcrkyw14b08E/e71STRhUQOIjsbyjPX3Tk9ugs1QHI+ Lmvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740762117; x=1741366917; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=AA3nrVRt5RTLjxDBUaAbIuNbt5+NuQmLWo9HWGEGu6w=; b=HmIMr+jBMTXNgOffopLSnoOCpHWuQGri7YrkZBDT6XAG967FWeMP01Kiw+PGMogSpe uumCqNtf4cMWRu3VX1QUZdBCFEZP4dnfKobfsoz3mzx+qACFi58RT1rzxX9lRksC9FAu lGxLlroOsM7V1yLTH5lc+D/4tImnH5vPDisVqnPXX3Rhidi1hYI4umo4x47nrTCTWtMK uDdcj4l8Ci2oRZ3TisIc45LmhAE/1+/FZ9x80ML5xK2MWtJ/aKAIGP9YylRbWjMNB4Wc V2giuM+8FKnklEsTNz0ejD19i8tyGIpvF9p7rWOWRrRLxvduaZUTs2Veai3FvpHGqjHs XWdg== X-Forwarded-Encrypted: i=1; AJvYcCWD491UI59mmirPU0f+fzgY/4sV2f/2e/s8KZey1Td5GUojc9ITBc+uop7AHtwkY9QDQ4WOq5C56wtz+xaR@postgresql.org X-Gm-Message-State: AOJu0YyBeFT4cEbxQx7spmz3dwrVJlbHTPvTgJDNxbs/iRaLGIVtBfI5 kGkweUBc5RKL1jK0z8hsOtXIv/tECHviVHZ9haMXpLDohroZ+CqFE8AKeA== X-Gm-Gg: ASbGncslh9oskQR0Kvssk042MUNAu9ZeTaFtj/qWTkK7Q8pj+TVYXGRWsdi4ousuvZa X4xgIsUGgpgvrUWlWCeci0SL6A6l1UeyBa6z80NueplqhU8jn8NayA9es0J1WqM2GAVz1fp3Z9D Fkh+EG9W8jwLDMQnZ0ZmRfE/SxnPgdJ2880skol2mecyfPM/hyKizNKJ9TgVy7k6UmGo7GjjtrR Q946CAhA4YIGieeXPkZ2kUCpdsxtOqm05TY2+qw2oHH4zx9sQaq6qSiO0kwbGt6k+dXxoWCt6k4 FaQ6vAcvk5Phpt8d3IBiruFubDjTXp43n/KpF2GzurXwZPyaxK4jj3gHfIVOZZnWyovUwB89rj3 aARqQXOIn8P4MhA== X-Google-Smtp-Source: AGHT+IECYJ9Sx8YRhZ99z30PvTpW0SEYwz7+fJY90uakB3mcOjN3xN4RrP5+ttIWFgXRVZsMgAc6RA== X-Received: by 2002:a05:6a00:7597:b0:735:7d11:c7d4 with SMTP id d2e1a72fcca58-7357d3050a4mr2941651b3a.9.1740762116698; Fri, 28 Feb 2025 09:01:56 -0800 (PST) Received: from ?IPV6:2402:e280:3e2e:391:61c8:4fe6:498:1881? ([2402:e280:3e2e:391:61c8:4fe6:498:1881]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73590058fbcsm1481464b3a.13.2025.02.28.09.01.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Feb 2025 09:01:56 -0800 (PST) Content-Type: multipart/alternative; boundary="------------FyPMqYGWfPGcTCdQPLjsk1Pd" Message-ID: Date: Fri, 28 Feb 2025 22:31:53 +0530 MIME-Version: 1.0 User-Agent: Betterbird (Linux) Subject: Re: create_immv issue on aws Ubuntu even after create extention To: Ron Johnson , pgsql-general References: <9a1af622-980b-4d81-b997-085dea2f2972@gmail.com> Content-Language: en-US From: Krishnakant Mane In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------FyPMqYGWfPGcTCdQPLjsk1Pd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Ok here you go. select create_immv('plantskillpayment', 'select distinct kwapp_plant.id as plantid, kwapp_skill.id as skillid, kwapp_skill.skillname, kwapp_plant.plantname, kwapp_pltsklpaylvl.level, kwapp_pltsklpaylvl.pay from kwapp_skill, kwapp_plant,  kwapp_pltsklpaylvl  where kwapp_skill.id  = kwapp_pltsklpaylvl.skillid_id  and kwapp_plant.id = kwapp_pltsklpaylvl.plantid_id'); You see, the point is this works perfectly on all local machines with exact same versions and same data. Regards. On 2/28/25 22:24, Ron Johnson wrote: > On Fri, Feb 28, 2025 at 11:41 AM Krishnakant Mane > wrote: > > Hello all. > > I am not able to use create_immv in postgresql 16.6 even after > installing it and doing create extention. > > I did a git clone of the repository and then make sudo make > install to install it. > > The issue is not happening on my local ubuntu 24.04 machine but on > ubuntu 24.04 on aws free tier. > > All dependencies are in place, that's why the extention got > installed in the first place. > > I get the error "function create_immv(unknown, unknown) does not > exist. > > all the tables related to this view exist, data is present and > same setup works perfectly on my local machine, same OS and > postgresql version. > > Can someone suggest what could be the solution? > > Show your work! > > What command did you run to get that error? > > -- > Death to , and butter sauce. > Don't boil me, I'm still alive. > lobster! -- Email Signature *Krishnakant Mane* Software Architecture Design & Implementation Specialist Mobile: +91 8424039903 https://www.linkedin.com/in/krishnakant-r-mane/ --------------FyPMqYGWfPGcTCdQPLjsk1Pd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Ok here you go.

select create_immv('plantskillpayment', 'select distinct kwapp_plant.id as plantid, kwapp_skill.id as skillid, kwapp_skill.skillname, kwapp_plant.plantname, kwapp_pltsklpaylvl.level, kwapp_pltsklpaylvl.pay from kwapp_skill, kwapp_plant,  kwapp_pltsklpaylvl  where kwapp_skill.id  = kwapp_pltsklpaylvl.skillid_id  and kwapp_plant.id = kwapp_pltsklpaylvl.plantid_id');


You see, the point is this works perfectly on all local machines with exact same versions and same data.

Regards.

On 2/28/25 22:24, Ron Johnson wrote:
On Fri, Feb 28, 2025 at 11:41 AM Krishnakant Mane <kkproghub@gmail.com> wrote:

Hello all.

I am not able to use create_immv in postgresql 16.6 even after installing it and doing create extention.

I did a git clone of the repository and then make sudo make install to install it.

The issue is not happening on my local ubuntu 24.04 machine but on ubuntu 24.04 on aws free tier.

All dependencies are in place, that's why the extention got installed in the first place.

I get the error "function create_immv(unknown, unknown) does not exist.

all the tables related to this view exist, data is present and same setup works perfectly on my local machine, same OS and postgresql version.

Can someone suggest what could be the solution?

Show your work!

What command did you run to get that error?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
--
Email Signature
Krishnakant Mane
Software Architecture Design & Implementation Specialist

Mobile:
+91 8424039903
https://www.linkedin.com/in/krishnakant-r-mane/
--------------FyPMqYGWfPGcTCdQPLjsk1Pd--