Re: btreecheck extension
От | Peter Geoghegan |
---|---|
Тема | Re: btreecheck extension |
Дата | |
Msg-id | CAM3SWZQ_69d+D+P1j=bafy3d8OpnmpgCbkWoma09OiTiP1exuQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: btreecheck extension (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: btreecheck extension
|
Список | pgsql-hackers |
On Tue, Jun 17, 2014 at 1:16 PM, Robert Haas <robertmhaas@gmail.com> wrote: > I don't feel qualified to comment on any of the substantive issues you > raise, so instead I'd like to bikeshed the name. I suggest that we > create one extension to be a repository for index-checking machinery > (and perhaps also heap-checking machinery) and view this as the first > of possibly several checkers to live there. Otherwise, we may > eventually end up with separate extensions for btreecheck, hashcheck, > gistcheck, gincheck, spgistcheck, minmaxcheck, vodkacheck, heapcheck, > toastcheck, etc. which seems like excessive namespace pollution. I agree. I hope that we'll eventually be able to move code like this into each AM, with something like an amverifyintegrity pg_am entry optionally provided. There'd also be a utility statement that would perform this kind of verification. It seems natural to do this, as the patch I've posted arguably adds a big modularity violation. Besides, it seems worthwhile to pepper the regular regression tests with calls like these, at least in some places, and putting something in core is the most convenient way to do that. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: