How to create recurrence schedule event? - Mailing list pgsql-general

From Quang Thoi
Subject How to create recurrence schedule event?
Date
Msg-id 571602E8CBF2CE4B8D025AD126A299632B5A75BA85@TUS1XCHEVSPIN32.SYMC.SYMANTEC.COM
Whole thread Raw
Responses Re: How to create recurrence schedule event?  (Raymond O'Donnell <rod@iol.ie>)
Re: How to create recurrence schedule event?  (hxreno1 <hxreno1@gmail.com>)
List pgsql-general

Hi,

 

I am trying to port sybase codes to posgresql. I have looked into the postgresql documentation

but couldn't find good information on how to  create an equivalent recurrence event

which similar to the sybase codes below.

 

Can some one please help?

 

sybase codes:

 

create event PURGE_ORDER schedule

start time '00:00:00' every 30 minutes

       on ( 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday','Saturday', 'Sunday' )

 

handler begin

 

     declare @value           varchar(128);

     call cleanup_order();

end;

 

Thanks,

QT

pgsql-general by date:

Previous
From: Ray Stell
Date:
Subject: Re: streaming replication not working
Next
From: Raymond O'Donnell
Date:
Subject: Re: How to create recurrence schedule event?