Re: Avoid MVCC using exclusive lock possible?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Avoid MVCC using exclusive lock possible?
Дата
Msg-id 26727.1078191039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Avoid MVCC using exclusive lock possible?  (Paul Tillotson <pntil@shentel.net>)
Список pgsql-hackers
Paul Tillotson <pntil@shentel.net> writes:
> I use this type of approach when mirroring data from a foxpro database 
> (yuck) to a read-only postgres database.  It is quicker and cleaner than 
> deleting all of the rows and inserting them again (TRUNCATE is not 
> transaction safe, which I need).

Just FYI, TRUNCATE *is* transaction safe as of 7.4.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CHECK constraints inconsistencies
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: CHECK constraints inconsistencies