Re: ALTER TABLE lock strength reduction patch is unsafe
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-21T18:37:42Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add bytea_agg, parallel to string_agg.
- d5448c7d31b5 9.2.0 cited
-
Fix ALTER TABLE ONLY .. DROP CONSTRAINT.
- c0f03aae0469 9.2.0 cited
Alvaro Herrera <alvherre@commandprompt.com> writes: > Excerpts from Tom Lane's message of mar jun 21 11:06:22 -0400 2011: >> Please note that this position should not be regarded as support for >> Simon's proposed patch. I still think the right decision is to revert >> the ALTER TABLE feature, mainly because I do not believe this is the >> last bug in it. And the fact that there's a pre-existing bug with a >> vaguely similar symptom is no justification for introducing more bugs. > Note that this feature can be disabled by tweaking > AlterTableGetLockLevel so that it always returns AccessExclusive. I think Simon had also hacked a couple of other places such as CREATE TRIGGER, but yeah, I was thinking of just lobotomizing that function with an #ifdef. When and if we get these problems worked out, it'll be easy to re-enable the feature. regards, tom lane