Re: about truncate
| От | Peter Eisentraut |
|---|---|
| Тема | Re: about truncate |
| Дата | |
| Msg-id | 4976EB0B.2010601@gmx.net обсуждение исходный текст |
| Ответ на | Re: about truncate (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: about truncate
|
| Список | pgsql-hackers |
Andrew Dunstan wrote: > It's just occurred to me that if TRUNCATE no longer means TRUNCATE ONLY, > parallel restore will need to detect which server version is being used > so that for version > 8.3 it issues TRUNCATE ONLY. The pg_dump output was never backward compatible. (The input is.) So the output of parallel restore need not be backward compatible either. (Unless this mandate has changed dramatically while I was not looking?) So always issue TRUNCATE ONLY, if that is what thelogic requires. The additional benefit is that this will fail safely on older versions.
В списке pgsql-hackers по дате отправления: