however when i run it PostgreSQL 14.2 (Ubuntu 14.2-1.pgdg20.04+1+b1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
yield the following error:
ERROR: 42846: cannot cast type timestamp with time zone to isodow LINE 1: select '2022-04-23 19:00:01 +5:30'::timestamptz::isodow; ^ LOCATION: transformTypeCast, parse_expr.c:2652