PostgreSQL Date Function Support
TDV supports the date functions listed in the table below for PostgreSQL.
|
PostgreSQL Date Function |
Notes |
|
CLOCK_TIMESTAMP |
|
|
CURRENT_DATE |
|
|
CURRENT_TIMESTAMP |
|
|
DATE_TRUNC |
|
|
DAY |
|
|
MONTH |
|
|
YEAR |
Not supported. |
| DATE_PART |
This is supported in Postgres version 10 and later. |
| EXTRACT(DOW FROM ) | Push supported. The tdv function returns value in range [1, 7]. But when the function is pushed to Postgresql, the returned value is in range [0, 6]. |