function to send email with query results

From: Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: function to send email with query results
Date: 2015-04-18 05:30:51
Message-ID: CAJP7dtCrT1C9S0g9haYVy=q01-bADZ2apJqS7avjT_-kScbO6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Hi all:

I'm looking to write a function to send email with result of a query. Is
it possible to send email with in a function. Any help is appreciated.

Thanks,
-Suresh Raja

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2015-04-18 05:47:11 Re: "Cast" SRF returning record to a table type?
Previous Message Jim Nasby 2015-04-18 04:01:05 Re: "Cast" SRF returning record to a table type?

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2015-04-18 05:52:50 Re: [SQL] function to send email with query results
Previous Message Naresh Kumar 2015-04-18 00:05:00 Re: Best way to aggregate sum for each month