Re: PgAgent leap year problem - Mailing list pgadmin-hackers

From Neel Patel
Subject Re: PgAgent leap year problem
Date
Msg-id CACCA4P2A=t9UcKYyiB3-Z0J3zNQNsa48UwWrwUJ90koTxNL99g@mail.gmail.com
Whole thread Raw
In response to PgAgent leap year problem  (Mehmet Emin KARAKAŞ <emin100@gmail.com>)
Responses Re: PgAgent leap year problem  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi Mehmet,

It was a bug in pgAgent. Thank you for sharing the patch. I have reviewed and tested, it is working fine.

Dave/Ashesh:-  Can we commit this patch ?

Thanks,
Neel Patel

On Mon, Mar 2, 2020 at 5:26 PM Mehmet Emin KARAKAŞ <emin100@gmail.com> wrote:
Hi,

Scheduled tasks set as the last day of February this year did not work. In your schedule function have a small bug.  Leap year function get year parameter, but your code is sending day as a parameter.  Fixing patch attached in this mail.

Best Regards...

--
MEHMET EMİN KARAKAŞ
PostgreSQL DBA

Turksat Satellite Communication and Cable TV Operations
Konya Yolu 40. Km. 06839 Golbasi / ANKARA - TÜRKİYE
Tel     :  +90 312 615 32 73
Faks  :  +90 312 615 32 77

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin4 v4.19 candidate builds
Next
From: Ashesh Vashi
Date:
Subject: Re: PgAgent leap year problem