Re: How to debug extension update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kaido vaikla <kaido(dot)vaikla(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to debug extension update
Date: 2025-01-06 19:57:50
Message-ID: 1334421.1736193470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

kaido vaikla <kaido(dot)vaikla(at)gmail(dot)com> writes:
> Why update can't find an extension, while i can describe it and search_path
> seems to be correct?

Extension scripts are not run with the session's prevailing
search_path, but with a search path built from the extension's
dependencies. In this case, schema postgis would be included
in that path only if extension postgis_topology specifies

requires = 'postgis'

in its postgis_topology.control file. It kinda sounds like that
might be missing? If it's present, then Ron's thought about
missing access privileges for the postgis schema might be the
answer.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2025-01-06 20:01:47 Re: Postgresql 17 incremental backup
Previous Message Guillaume Lelarge 2025-01-06 19:42:48 Re: Postgresql 17 incremental backup