Is there a way to remove defaults for columns, similar to pgloader's CAST argument?
For example, I have a load file (pgloader's input) that looks like this:
LOAD DATABASE
FROM mysql://root:XXXXXXXXXXXXXXX@localhost:3306/Stocks
INTO postgresql://root:XXXXXXXXXXXXXXX@localhost:5432/Stocks
CAST
type datetime when default 'utc_timestamp()' to "timestamptz default timezone('utc', now())" drop default,
type float to numeric,
type bigint when (= precision 20) to bigint drop typemod
;
The second line in the CAST clause could be configured in the data_types_map.json, but is there a way to configure the first line?
Thanks