Should pg_dump warn on external file dependencies?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Should pg_dump warn on external file dependencies?
Дата
Msg-id 4767E463.5010304@archonet.com
обсуждение исходный текст
Список pgsql-hackers
Just realised I posted this to the wrong address last time...

I've been playing around with the new integrated tsearch2 stuff, and it 
all seems to work just fine.

However, if you define an external dictionary file (in my case a list of 
half-a-dozen stopwords) then obviously pg_dump can't dump that file.

On restore you (correctly) get an error that the file doesn't exist. I 
was wondering whether pg_dump should issue a warning ("dump file depends 
on external file ...").

Of course we don't do that for procedural languages/contrib stuff at 
present. However, they seem a lot "heavier" than a dictionary file and 
it seems less likely an admin (e.g. me) might fail to prepare the target 
accordingly.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Sebastien FLAESCH
Дата:
Сообщение: Re: V8.3.0: PQprepare()/PQexecPrepared() and DECLARE CURSOR
Следующее
От: Andrew Chernow
Дата:
Сообщение: binary array and record recv