public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Krishnakant Mane <[email protected]>
To: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: create_immv issue on aws Ubuntu even after create extention
Date: Sat, 1 Mar 2025 18:21:36 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CANzqJaBguoe+RY04g9t8PLGyVBkEmnfvmkJ=k0mqOvtyE4jopA@mail.gmail.com>
	<[email protected]>
	<CANzqJaDyiugA8eFG3rK0x37d70MBDLrL6VTcC9T5S4iLh7WmpQ@mail.gmail.com>
	<[email protected]>
	<CANzqJaC6aC01wFJAp3ZDDRjhjQhKvoKo-LCBD9X4RGBnqQ60Wg@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

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
[email protected]







view thread (11+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: create_immv issue on aws Ubuntu even after create extention
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox