Column snapshot on PostgreSQL does not include precision information for numeric data type
Description
Environment
PostgreSQL 9.3.5
Activity
Show:
Nathan Voxland October 21, 2014 at 5:13 PM
Fixed for 3.3.0

Piotr Findeisen October 21, 2014 at 1:31 PM
btw. I think the unmodifiableDataTypes
would welcome addition of "text"
– this once seems unmodifiable.
steps
take table/column snapshot of a
numeric(10,5)
column on PostgreSQL databaseexpected
information that it was
numeric(10,5)
OBSERVED
information that it was
numeric
but no morenote
This is because of
ColumnSnapshotGenerator.readDataType(CachedRow, Column, Database)
if (database.dataTypeIsNotModifiable(columnTypeName)) { columnSize = null; }
ATM, the
database.dataTypeIsNotModifiable(...)
method returnstrue
only on PostgreSQL, for several data types includingnumeric
– perhaps just need to remove"numeric"
from the list?