Type
CURRENT_DATE
returns the current server date.
Within a PSQL module (procedure, trigger or executable block), the value of will remain constant every time it is read. If multiple modules call or trigger each other, the value will remain constant throughout the duration of the outermost module. If you need a progressing value in PSQL (e.g. to measure time intervals), use .