Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers
Дата
Msg-id
CA+TgmoZO0TvFkJuiFKh2osB0iCQDMuMB8jPc3D64sSCS41qnyQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikkhils@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikkhils@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikkhils@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Tom Lane <tgl@sss.pgh.pa.us>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikkhils@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikkhils@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Alvaro Herrera <alvherre@commandprompt.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Daniel Farina <daniel@heroku.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Hitoshi Harada <umi.tanuki@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Hitoshi Harada <umi.tanuki@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Robert Haas <robertmhaas@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Hitoshi Harada <umi.tanuki@gmail.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Daniel Farina <daniel@heroku.com>
Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>
On Wed, Nov 9, 2011 at 9:51 AM, Nikhil Sontakke  wrote:
> Yeah thanks, that does the object locking. For pre-9.1 versions, we will
> need a similar solution. I encountered the issue on 8.3.x..

I don't think we should back-patch a fix of this type.  There is a lot
of cruftiness of this type scattered throughout the code base, and if
we start back-patching all the fixes for it, we're going to end up
destabilizing older branches for little real benefit.

Also, the fix would need to be quite different in older branches.  For
example, in the master branch, you can probably fix 90% of the issue
by adjusting dropcmds.c, which now handles drop operations for most
object types.  I believe KaiGai Kohei is still working on code which
will allow that code to support drop operations for most of the
remaining object types as well.  But in any previous release you would
need scattered fixes all over the code base.

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

В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
Сообщение: Re: Syntax for partitioning
FAQ