You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgres producer ALTER COLUMN: specify USING for datatype change
Postgres 8 and later require a C<< USING expression >> clause when
changing the type of a column in a potentially lossy manner, such
as from C<text> to C<numeric>.
This change adds an automatic "USING (colname::datatype)" suffix
any time the data type has changed, which should be a safe default.
It is also conditioned on the version of Postgres, but also makes
it the default in absence of a version, since Pg 8 is so old.
0 commit comments