In PostgreSQL, you can use the to_char()
function to get the short month name from a date.
By “short month name” I mean the abbreviated month name, for example Jan, Feb, Mar, etc.
The to_char()
function accepts two parameters; the date and the format string with which to format that date.