Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option
В списке pgsql-committers по дате отправления:
| От | Bruce Momjian |
|---|---|
| Тема | Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option |
| Дата | |
| Msg-id | 20140826000757.GE14956@momjian.us обсуждение исходный текст |
| Ответ на | Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-committers |
On Mon, Aug 25, 2014 at 07:44:06PM -0400, Tom Lane wrote: > A larger point is that we could easily consider RESET as meaning > "remove this option *if it's applied to this relation*", which would > mean that resetting a nonexistent option shouldn't be an error. > If we don't define the action that way, then should RESET foo, where > foo is a valid option that's not been set on the particular table, > be an error? If not, what's the argument for allowing that case > and not this one? Do we need a RESET IF EXISTS to cover that? > > Please revert and return the patch for further work/discussion. > We had consensus on a vague idea, not the details of this particular > patch. OK, that makes sense. Reverted. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера