I'm trying to get all birthdays for the following week (Mon - Sun) starting on Monday.
The query should be able to find birthdays for the following Mon - Sun regardless of which day the query runs. So for example, if the query was run on Tuesday, it would still be able to show all birthdays for the following Mon - Sun.
I've tried the following and it appears to work, but I'm not sure how to get it to always "start" on Monday:
SELECT * FROM pet
WHERE
birth_date BETWEEN CURRENT_DATE + INTERVAL '7 days'
AND CURRENT_DATE + INTERVAL '14 days';
Note that I derived this answer from some older posts (2011-2013) on SO. I'm running Postgres 9.5, so I'm not sure if there's a newer, more optimized way of doing this.
Thanks in advance!