pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: How to export query results
Date: Tue, 21 Aug 2007 10:54:50 -0400
Message-ID: <1d219a6f0708210754v456fecaer68d0420cf2526c12@mail.gmail.com> (raw)

I need some guidance.

I need to have an after insert trigger execute on a specific table and
export the results of query to a file on the database file system.  Is this
possible to do from a trigger?  If so, how can I accomplish this?  I am
drawing a blank on how to export the results of the query.

Thanks,


Chris

view thread (4+ messages)  latest in thread

Message-ID: <1d219a6f0708210754v456fecaer68d0420cf2526c12@mail.gmail.com>
Permalink:  ../1d219a6f0708210754v456fecaer68d0420cf2526c12@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f0708210754v456fecaer68d0420cf2526c12@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: revoohc@gmail.com
  Subject: Re: How to export query results
  In-Reply-To: <1d219a6f0708210754v456fecaer68d0420cf2526c12@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox