Re: ALTER TABLE lock strength reduction patch is unsafe

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: ALTER TABLE lock strength reduction patch is unsafe
Дата
Msg-id
20140128145515.GC20898@momjian.us
Ответ на
Список
Дерево обсуждения
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Peter Geoghegan <pg@heroku.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Vik Fearing <vik.fearing@dalibo.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Atri Sharma <atri.jiit@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Stephen Frost <sfrost@snowman.net>
Re: ALTER TABLE lock strength reduction patch is unsafe Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Stephen Frost <sfrost@snowman.net>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Stephen Frost <sfrost@snowman.net>
Re: ALTER TABLE lock strength reduction patch is unsafe Atri Sharma <atri.jiit@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Vik Fearing <vik.fearing@dalibo.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Greg Stark <stark@mit.edu>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Vik Fearing <vik.fearing@dalibo.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Atri Sharma <atri.jiit@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Atri Sharma <atri.jiit@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Atri Sharma <atri.jiit@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Noah Misch <noah@leadboat.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Jim Nasby <jim@nasby.net>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Andres Freund <andres@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Peter Geoghegan <pg@heroku.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Bruce Momjian <bruce@momjian.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Bruce Momjian <bruce@momjian.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Robert Haas <robertmhaas@gmail.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Heikki Linnakangas <hlinnakangas@vmware.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Bruce Momjian <bruce@momjian.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Heikki Linnakangas <hlinnakangas@vmware.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Bruce Momjian <bruce@momjian.us>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
Re: ALTER TABLE lock strength reduction patch is unsafe Simon Riggs <simon@2ndQuadrant.com>
On Mon, Jan 27, 2014 at 08:57:26PM +0000, Simon Riggs wrote:
> We get the new behaviour by default and I expect we'll be very happy with it.
> 
> A second thought is that if we have problems of some kind in the field
> as a result of the new lock modes then we will be able to turn them
> off. I'm happy to fix any problems that occur, but that doesn't mean
> there won't be any. If everybody is confident that we've foreseen
> every bug, then no problem, lets remove it. I recall being asked to
> add hot_standby = on | off for similar reasons.

Addressing a larger issue, I have no problem with systematically adding
GUCs to turn off features we add in each major release if we can also
systematically remove those GUCs in the next major release.

This would require putting all these settings in the compatibility
section of postgresql.conf.

However, I don't think it makes sense to do this in a one-off manner. 
It is also possible that there are enough cases where we _can't_ turn
the feature off with a GUC that this would be unworkable.

So, if we can't do it systematically, that means we will have enough
breakage cases that we just need to rush out new versions to fix major
breakage and one-off GUCs just don't buy us much, and add confusion.

Does that make sense?

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + Everyone has their own god. +


В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
От: salah jubeh
Дата:
FAQ