Re: ALTER TABLE lock strength reduction patch is unsafe

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: ALTER TABLE lock strength reduction patch is unsafe
Дата
Msg-id
CA+TgmoaNehGhOTVc58bXLE0aL2efnNhDFS7-JyeVFhwPo3UQ8Q@mail.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 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 Tue, Jan 3, 2012 at 1:24 PM, Tom Lane  wrote:
> Um ... you're supposing that only DDL uses SnapshotNow, which is wrong.
> I refer you to the parser, the planner, execution functions for arrays,
> records, enums, any sort of relcache reload, etc etc etc.  Yes, some
> of that is masked by backend-internal caching, some of the time, but
> it's folly to just assume that there are no SnapshotNow scans during
> normal queries.

Hmm.  That's unfortunate, because it seems difficult to construct a
test case that will exercise every feature in the system.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Kevin Grittner
Дата:
FAQ