Re: [GENERAL] Concurrency problem building indexes
От | Jim C. Nasby |
---|---|
Тема | Re: [GENERAL] Concurrency problem building indexes |
Дата | |
Msg-id | 20060425005446.GT64695@pervasive.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] Concurrency problem building indexes (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [GENERAL] Concurrency problem building indexes
Re: [GENERAL] Concurrency problem building indexes |
Список | pgsql-hackers |
On Mon, Apr 24, 2006 at 08:42:41PM -0400, Tom Lane wrote: > "Jim C. Nasby" <jnasby@pervasive.com> writes: > > Was the code ever changed so that it won't update relpages if the number > > is the same? > > Long ago. I just tested it again, and AFAICS you can create indexes > concurrently so long as the underlying table isn't changing (ie, > neither reltuples nor relpages changes). Hrm, the OP seemed to find a case that was having problems: http://archives.postgresql.org/pgsql-general/2006-04/msg01009.php Of course it's possible that he's getting that error from an entirely different section of code, or that this is now only an issue if you're doing a lot of indexing at once... -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
В списке pgsql-hackers по дате отправления: