Subject: | Missing support for some PostgreSQL date/time data types... |
This regexp is a little too restrictive to use effectively with PostgreSQL:
if ( $info->{data_type} =~ /^(datetime|date|timestamp)$/i ) {
PostgreSQL has three primary date/time data types (timestamp, date,
time) and allows you to further specify 'with time zone' or 'without
time zone' for the timestamp and time types. 'With time zone' can also
be abbreviated just 'tz' (giving timestamptz and timetz)
So the regexp should probably be more along the lines of:
/^(datetime|date|timestamp|time)(tz|with(out)?\s+time\s+zone)?$/i
Although for maximum compatibility, it may be worthwhile to consider just:
/(date|time)/