pgsql: Allow DROP TABLESPACE to succeed (with a warning) if the

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Allow DROP TABLESPACE to succeed (with a warning) if the
Дата
Msg-id 20070322195144.BB1969FB9B4@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Allow DROP TABLESPACE to succeed (with a warning) if the pg_tblspc symlink
doesn't exist.  This allows DROP to be used to clean out the pg_tablespace
catalog entry in a situation where a previous DROP attempt failed before
committing but after having removed the directories and symlink.

Per report from William Garrison.  Even though his test case depends on an
unrelated bug in PreventTransactionChain, it's certainly possible for this
situation to arise due to other problems, eg a system crash at just the
right time.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablespace.c (r1.44 -> r1.45)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablespace.c.diff?r1=1.44&r2=1.45)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Properly enforce pg_dump -F formation options; only single letter
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Allow the pgstat process to restart immediately after a receiving