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.
---------------------------------------------------------------