Re: "interesting" issue with restore from a pg_dump with a database-wide search_path

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "interesting" issue with restore from a pg_dump with a database-wide search_path
Дата
Msg-id 69544.1530907838@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "interesting" issue with restore from a pg_dump with adatabase-wide search_path  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-hackers
Larry Rosenman <ler@lerctr.org> writes:
> On Fri, Jul 06, 2018 at 11:35:41AM -0700, Joshua D. Drake wrote:
>> Knowing the errors would be helpful.

> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 12; 3079 887963 EXTENSION postgis_tiger_geocoder
> pg_restore: [archiver (db)] could not execute query: ERROR:  function soundex(character varying) does not exist
> HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

This looks like a problem with the postgis_tiger_geocoder extension.
It's depending on the fuzzystrmatch extension (which has the soundex
function), but seemingly this dependency is not declared in the
extension's control file.  If it were, the search path would've been
set to include the schema of the fuzzystrmatch extension during
CREATE EXTENSION.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: shared-memory based stats collector
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Make deparsing of column defaults faster