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 1toYxb-00CROs-Sn for pgsql-general@arkaria.postgresql.org; Sun, 02 Mar 2025 02:21:45 +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 1toYxc-00B5k8-VU for pgsql-general@arkaria.postgresql.org; Sun, 02 Mar 2025 02:21:43 +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 1toYxc-00B5iZ-2B for pgsql-general@lists.postgresql.org; Sun, 02 Mar 2025 02:21:43 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1toYxW-000SMF-0q for pgsql-general@postgresql.org; Sun, 02 Mar 2025 02:21:42 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id B02BA11401C3; Sat, 1 Mar 2025 21:21:37 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sat, 01 Mar 2025 21:21:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1740882097; x=1740968497; bh=SZu0TED3j/D/HhleXu3S5fbO73r5TBGF46TKnAHfOLI=; b= BVtUpOTjUKEqRXtWSafx25q93606GXGpQf9nxZ7HTfhbUJiM+niNlCK5B6vLFcwl S+dcUDR7Gipp65R6ryguRbQ6jy8LxRJ+XgtzUKfdrjK2rr7XIvf2n2ZPAj7W+o+0 ntdyLWVNSo17LVE1OCRLDnaA3DWrwn8xC/7I3k/4CjvVFCwObH389yd5MlT4zSPa cXR5/jY/zkQ1Ds8xkJxrexht+gAaF180M8QFpdC6bx8e5Z/Il+kfAQqE/BLCOtC0 v1uGOUTmZNLQ9T5JOjEVLTfQ7HJT3wi4ek8BDZdi58p/cnXrl013O8Zbj+5+GE0P Yq764DIBdPVG76AO4OXoCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1740882097; x=1740968497; bh=S Zu0TED3j/D/HhleXu3S5fbO73r5TBGF46TKnAHfOLI=; b=nSztrGcvFCORyUnGU BUz/lnKWW6gpguBhfA7tOmYSPfcAqngR4eJ8foaVJTzbwo2hmOZ+YtE6bviWELj9 HEHebKW3Shlr56e7OlOTryWcKQQO10X2k08RGxkLdiBJc+Jz/5jBvgjjbFuYbRDh 0y9HNYo9qYffDbsdnuNqE5/msYFHynt+tGruU7O8z8RyL3dnr5CmtU0tAK60sVIO +/2+8jpDRL/h9c1z8cVpD+ycKVorMofGbiM9VDA6Rq44Qp7Sc0VZRZOdfBDCoTQJ JEBYAMt/jmkDf4MgtsOKwmz+i6P3jHlZXguj+9POkbS0LL3RUeeQ6HpQ9/o1M1lF ys+3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdelgeelkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeelleegleevkedtgfejheefuddvieethffhuedtveevtddvhfetvedtiedu vdffkeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdhlihhnkhgvughinh drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtth hopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehkkhhprhhoghhhuhgssehg mhgrihhlrdgtohhmpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhesghhmrghilh drtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhq lhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Mar 2025 21:21:36 -0500 (EST) Message-ID: <5980eb9e-d1eb-4256-b6cc-6635b30a084b@aklaver.com> Date: Sat, 1 Mar 2025 18:21:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: create_immv issue on aws Ubuntu even after create extention To: Krishnakant Mane , Ron Johnson , pgsql-general References: <9a1af622-980b-4d81-b997-085dea2f2972@gmail.com> <0b555632-2598-42d8-8e08-ce2881d21ed6@aklaver.com> <8998e624-ec5d-45b4-8470-accea4d855ee@gmail.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <8998e624-ec5d-45b4-8470-accea4d855ee@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/1/25 18:14, Krishnakant Mane wrote: > > On 3/2/25 07:23, Adrian Klaver wrote: >> On 3/1/25 17:39, Krishnakant Mane wrote: >>> >> >>>>> But when I try creating the same immv on the server it says >>>>> function create_immv (unknown, unknown ) does not exist. >>>> >>>> Connect with psql then do: >>>> >>>> 1) \dx >>>> This will show what extensions are installed and in what schema. >>>> > pg_ivm | 1.10 | pg_catalog > > plpgsql | 1.0 | pg_catalog. > > >>>> 2) show search_path; >>>> "$user" public. >>>> 3) \df *.create_immv >>>> pgivm | create_immv | bigint | text, text | func. >>>> Provide the outputs from the above three commands in your response. >> >> See above and provide answers. So the extension functions are in the pgivm schema. You will need to either always schema qualify the functions: select pgivm.create_imv(); or add the pgivm schema to the search_path. For how to do that see the link I provided earlier in this thread: https://www.postgresql.org/docs/current/ddl-schemas.html#DDL-SCHEMAS-PATH Using the info from above you will probably want to persist the search_path setting in postgresql.conf as: https://www.postgresql.org/docs/current/runtime-config-client.html as search_path >> > -- > Email Signature > *Krishnakant Mane* > Software Architecture Design & Implementation Specialist > > > Mobile: > +91 8424039903 > > https://www.linkedin.com/in/krishnakant-r-mane/ > -- Adrian Klaver adrian.klaver@aklaver.com