Re: ALTER TYPE 0: Introduction; test cases
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2011-01-11T13:14:41Z
Lists: pgsql-hackers
On Tue, Jan 11, 2011 at 07:27:46AM -0500, Robert Haas wrote: > On Tue, Jan 11, 2011 at 7:14 AM, Noah Misch <noah@leadboat.com> wrote: > > True. ?At least we could completely document the lock choices on the ALTER TABLE > > reference page. ?The no-rewrite cases are defined at arms length from ALTER > > TABLE, and users can define their own, so it's a tougher fit. > > I don't think it's prohibitively, tough, though, and I think it would > be very valuable. We may have to scratch our heads over exactly where > to put the information, but we can figure out something that works. Agreed. I don't mean to suggest giving up on documenting anything, just that some behaviors are clear enough by documentation alone, while others benefit from additional syntax/messages to constrain/see what actually happens.