statement timeout vs dump/restore

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема statement timeout vs dump/restore
Дата
Msg-id 481C6DA6.80905@dunslane.net
обсуждение исходный текст
Ответы Re: statement timeout vs dump/restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'm a bit confused about where the consensus is on this issue ( 
http://archives.postgresql.org/message-id/20080311110727.62605f5f@commandprompt.com 
et al)

Do we want the following:

1. pg_dump issues "set statement_timeout = 0;" to the database prior to 
taking its copy of data (yes/no/default-but-switchable)
2. pg_dump/pg_restore issue "set statement_timeout = 0;" in text mode 
output (yes/no/default-but-switchable)
3. pg_restore issues "set statement_timeout = 0;" to the database in 
restore mode (yes/no/default-but-switchable)

I would tend to say default-but-switchable for all 3, but maybe that's 
too complicated.

cheers

andrew


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: ecpg localization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: statement timeout vs dump/restore