From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
---|---|
To: | "Hugo" <htakada(at)gmail(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Newbie question |
Date: | 2005-05-18 15:39:14 |
Message-ID: | D425483C2C5C9F49B5B7A41F89441547055BB1@postal.corporate.connx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Sure. Just set up psql with a SQL script containing your task using a
chron job.
The psql utility will accept a command file as a parameter.
PostgreSQL has functions rather than stored procedures, but it works out
about the same.
You could also put a bunch of SQL commands that you want to run in the
file that you feed to psql.
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Hugo
> Sent: Wednesday, May 18, 2005 8:24 AM
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] Newbie question
>
> hi,
>
> is it possible to schedule the execution of an sql stored procedure in
> postgress on linux?
>
> thanks
>
> Hugo
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | Csaba Nagy | 2005-05-18 15:43:16 | Re: Newbie question |
Previous Message | Sean Davis | 2005-05-18 15:37:09 | Re: Count and Results together |