From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ramesh T <rameshparnanditech@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Pgagent
Date: Mon, 13 Apr 2015 08:17:56 -0700
Message-ID: <552BDE24.7070408@aklaver.com> (raw)
In-Reply-To: <CAK8Zd=sMU-cZc_Jb_G9EfStm=dEF5WU7U8L30rfx2Yo3TLZRUw@mail.gmail.com>
References: <CAK8Zd=tY+pRVW=_RNxTqNqbMuwj559Lt1RwHM84G4K3ht9r32g@mail.gmail.com>
<552BCB0A.4060706@aklaver.com>
<CAK8Zd=sMU-cZc_Jb_G9EfStm=dEF5WU7U8L30rfx2Yo3TLZRUw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On 04/13/2015 07:22 AM, Ramesh T wrote:
> Hi,
> in steps>definition->
> do
> $body$
> begin
> perform delete_empty_parts();
> end;
> $body$
>
> delete_empty_parts is the function
>
> i do selected SQL option in step process.Right clicked on job chosen run
> now it getting failed(On error i selected failed,if select success it
> getting success)
Is there an error message in the Postgres logs?
>
> I'm running function on particular database and selected today dates..
>
> but function wasn't executed.
How do you know?
>
> let me know how to set it function in pgagent..
>
> On Mon, Apr 13, 2015 at 7:26 PM, Adrian Klaver
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 04/13/2015 06:53 AM, Ramesh T wrote:
>
> Hi all,
> i have a function to delete data from table.Where i
> need to
> place function in pgagent.in <http://pgagent.in;
> <http://pgagent.in; definition section can
> i select SQL or BATCH ..?
>
> or else any other method.?
>
>
> See here:
>
> http://www.pgadmin.org/docs/__dev/pgagent.html
> <http://www.pgadmin.org/docs/dev/pgagent.html;
>
> Any Help..
>
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, rameshparnanditech@gmail.com
Subject: Re: Pgagent
In-Reply-To: <552BDE24.7070408@aklaver.com>
References: <CAK8Zd=tY+pRVW=_RNxTqNqbMuwj559Lt1RwHM84G4K3ht9r32g@mail.gmail.com> <552BCB0A.4060706@aklaver.com> <CAK8Zd=sMU-cZc_Jb_G9EfStm=dEF5WU7U8L30rfx2Yo3TLZRUw@mail.gmail.com> <552BDE24.7070408@aklaver.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