Re: BUG #15263: pg_dump / psql failure. When loading, psql does notsee function-based constraints or indices

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #15263: pg_dump / psql failure. When loading, psql does notsee function-based constraints or indices
Дата
Msg-id 9d9fb168-027d-8cf5-8020-19cb188f2433@2ndquadrant.com
обсуждение исходный текст
Ответ на BUG #15263: pg_dump / psql failure. When loading,psql does not see function-based constraints or indices  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #15263: pg_dump / psql failure. When loading, psql does not see function-based constraints or indices  ("ceccareb@talusmusic.com" <ceccareb@talusmusic.com>)
Список pgsql-bugs
On 06.07.18 18:19, PG Bug reporting form wrote:
> I have a database with a table with a function-based check constraint.
> The database has another table with a function-based index.
> I dump with COPY statements (the default).
> 
> When I load the database from the dump I just created, loading (via psql)
> logs error messages.  Postgres cannot find functions inside the function the
> constraint or index invokes.

I think this and your subsequent report are all instances of the problem
that pg_dump cannot see into the function body to check what database
objects it depends on, so it cannot produce a working ordering of the
objects.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: long analyze, libc bug and libicu
Следующее
От: Grigory Smolkin
Дата:
Сообщение: Re: long analyze, libc bug and libicu