Re: Automatic export

Поиск
Список
Период
Сортировка
От Daniel T. Staal
Тема Re: Automatic export
Дата
Msg-id 51752.63.172.115.138.1153942021.squirrel@MageHandbook.com
обсуждение исходный текст
Ответ на Automatic export  ("Keith Worthington" <keithw@narrowpathinc.com>)
Ответы Re: Automatic export  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-novice
On Wed, July 26, 2006 3:17 pm, Keith Worthington said:
> Hi All,
>
> I need to export several records of a single colum from a table in a
> database everytime that table is updated.  The data needs to end up in a
> text file. Can someone give me an idea on where to get started?  URL's to
> relevant documentation would be appreciated.  TIA

I'd start here:
http://www.postgresql.org/docs/8.1/interactive/triggers.html

Write a trigger on insert/update on that table, and have it export the
records.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


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

Предыдущее
От: "Keith Worthington"
Дата:
Сообщение: Automatic export
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Automatic export