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 1toY6G-00CFq9-4b for pgsql-general@arkaria.postgresql.org; Sun, 02 Mar 2025 01:26:37 +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 1toY5I-009tNo-Rb for pgsql-general@arkaria.postgresql.org; Sun, 02 Mar 2025 01:25:35 +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 1toY5I-009tNf-Fd for pgsql-general@lists.postgresql.org; Sun, 02 Mar 2025 01:25:35 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1toY5D-000RsN-1L for pgsql-general@postgresql.org; Sun, 02 Mar 2025 01:25:34 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-223594b3c6dso55789915ad.2 for ; Sat, 01 Mar 2025 17:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740878730; x=1741483530; 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=zW4gVs+IHIHO+zu39eKtuo2FIF/sgk+CedCFgXSE/Jo=; b=GZOoqCOvC9jE7XIOD65nclwaOjEmAexLW+Jc4tZhBkLPfZpzSDUAij3LoTjNKLYEJ7 4HZTSe/pUoU8gpcug+3nTMM2M9juq3JibRH1TRfkwWEfZdP6ToAAnOXEycprkBLA7yuN M53u6h2lVVQ3YAgW2jkoAVpC8c2KtcWQ8mFhUVy8RTceF+fmLEceQ5PdCqQX6EfyvfcW OPnkrg0sOA/aPAqQ/y+sDarj5+ZxGqpX0piPiwAjHkJ375B0UPd1dF3d1zPXs4dFnPSe 6heL3g5iT8P4T6je5bvb2FGU8zTQtkaeGNECBG9VosMaRM8FH/HHiMa0VLl39IEao3zG 36SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740878730; x=1741483530; 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=zW4gVs+IHIHO+zu39eKtuo2FIF/sgk+CedCFgXSE/Jo=; b=m4X+/k6O/KQtA9UvHr+NfXiG2TxTapanZe7CTqCRRz2fBmu+Bm24LQGHJDiMvnHHCh yEEnz2rG8xOGOkiaPVX9vJB0KSDluZCSty7KQ9QoawJHXhdXr9DsUV6DAIxtRuhojc0C 3+2WbAjg9L3GvROBcSEMS3NGd4+1k9K46wDyRzQG3Fqf+4baIRLDCP4qM+obMWMrhkLQ tg7ju3LJf/yn7f7IKRlYuDXHuBdlkb+x9s2e7WnTn+LPDD8+OVE01HJLCw1ReBEE+zqQ 8Xjs9NMBUPVFwuDW1GUyZKX4o8XACnMXpmhBMeEcg1Q1RJZ4tSpoXQuFJ4+GVGtPK3aW ddDA== X-Forwarded-Encrypted: i=1; AJvYcCUx9hmRGTr5NnmEsHm9E+ezYji4vU3L6wD7e+OIKa9OJZjdrWsXJYx01CfP5t4FxDtC1j2UNcK8wFgjnQy0@postgresql.org X-Gm-Message-State: AOJu0Yz6XCCqsUxB0vJ7S8uTeQTSY0rme8qhy/dlSk+5naEOR/0t8I9H jGnU8E+hhux2YJWm0TBJAbJhq2cKoq7C0jC2ffmHOnvaAzDj/2Pp X-Gm-Gg: ASbGncv6UctSI3oxNaNSVEQ9hHClDh+U6IfEHSuqpPNb9xnShx3/K9hau0svXOb9zg2 IUH8JCNObqHRQDdiWaKXIDLc1rjKbEBD5+SiRuGbi6ylZ8QC3NiwZ8CTmPLQJ065F+/9iHUBPMT 423XReA1hfZRpAzlFIEuErMkHD74gnmw3CSCtms4d9P/3vTNGTVCbUVTcKOA8aDTFaBcVz/tavF E4hYAqX3qJcMOMCJ84zuk6jMDx6OU2BQ2Hui0P+Qb1iN4gJbEa5iL2LEF3hrLPe1Ou0dNSIZ5Uw fqACC/SKuCe8BEaj/4NhHpeO3UY6vyXNWlWRy5p4VKgBITmcvlGOdlPH4XKqrfWbsOTxGI61dnz BVjaBhUxzOgy5ovN1 X-Google-Smtp-Source: AGHT+IGLz5XOnh9LFrethc3xWXW/EAOAJucnLrlKYzvzOoyzdYOISwTn8myuLIgf9eCrRdiRvuPP+Q== X-Received: by 2002:a17:903:2ac7:b0:220:d909:1734 with SMTP id d9443c01a7336-22368f9251cmr144480085ad.14.1740878730215; Sat, 01 Mar 2025 17:25:30 -0800 (PST) Received: from ?IPV6:2402:e280:3e2e:391:d595:23f9:c1f8:deb8? ([2402:e280:3e2e:391:d595:23f9:c1f8:deb8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-223504c5bf3sm54264395ad.110.2025.03.01.17.25.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Mar 2025 17:25:29 -0800 (PST) Content-Type: multipart/alternative; boundary="------------yTx0pZRn22RyrY0gGzOFAM3P" Message-ID: Date: Sun, 2 Mar 2025 06:55:25 +0530 MIME-Version: 1.0 User-Agent: Betterbird (Linux) Subject: Re: create_immv issue on aws Ubuntu even after create extention To: Adrian Klaver , Ron Johnson , pgsql-general References: <9a1af622-980b-4d81-b997-085dea2f2972@gmail.com> <0b555632-2598-42d8-8e08-ce2881d21ed6@aklaver.com> Content-Language: en-US From: Krishnakant Mane In-Reply-To: <0b555632-2598-42d8-8e08-ce2881d21ed6@aklaver.com> 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. --------------yTx0pZRn22RyrY0gGzOFAM3P Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/1/25 22:17, Adrian Klaver wrote: > On 2/28/25 21:29, Krishnakant Mane wrote: >> All done, but no result. >> >> I feel it is possible that the latest code must be flawed or something. >> >> Well, as a matter of fact, I never had to compile the extention on my >> local ubuntu 24.04 machine. > > How did you install Postgres on the AWS EC2 instance? > > Did you install the postgresql-server-dev-16 package? > Yes I did. >> >> I just did a create extention and it worked just fine. >> >> But on my aws server I had to compile it manually and still it does >> not work. > > Define not work. > create extension command works successfully. But when I try creating the same immv on the server it says function create_immv (unknown, unknown ) does not exist. Note that this works on my local machine. >> >> Regards. >> >> On 3/1/25 00:10, Ron Johnson wrote: > -- Email Signature *Krishnakant Mane* Software Architecture Design & Implementation Specialist Mobile: +91 8424039903 https://www.linkedin.com/in/krishnakant-r-mane/ --------------yTx0pZRn22RyrY0gGzOFAM3P Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 3/1/25 22:17, Adrian Klaver wrote:
On 2/28/25 21:29, Krishnakant Mane wrote:
All done, but no result.

I feel it is possible that the latest code must be flawed or something.

Well, as a matter of fact, I never had to compile the extention on my local ubuntu 24.04 machine.

How did you install Postgres on the AWS EC2 instance?

Did you install the postgresql-server-dev-16 package?

Yes I did.

I just did a create extention and it worked just fine.

But on my aws server I had to compile it manually and still it does not work.

Define not work.


create extension command works successfully.

But when I try creating the same immv on the server it says function create_immv (unknown, unknown ) does not exist.

Note that this works on my local machine.


Regards.

On 3/1/25 00:10, Ron Johnson wrote:

--
Email Signature
Krishnakant Mane
Software Architecture Design & Implementation Specialist

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