Re: postgres external table

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: postgres external table
Дата
Msg-id 407d949e1001190308i4f66d3aegd7fe25ff696bfd46@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgres external table  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: postgres external table  (Jayadevan M <Jayadevan.Maymala@ibsplc.com>)
Список pgsql-general
On Tue, Jan 19, 2010 at 4:41 AM, Craig Ringer
<craig@postnewspapers.com.au> wrote:
> How can that work without a transactional file system, though? If the
> external process writes to the file while you're half-way through reading
> it, what's the database to do? In general, how do external tables cope with
> the fact that they're on non-transactional storage?

Well if you use mv to replace the old file with the new one then it
should be safe. Unless your query involves opening the table multiple
times or your transactions are more complex than a single query...


--
greg

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Index on immutable function call
Следующее
От: Jayadevan M
Дата:
Сообщение: Re: postgres external table