paupino / psqlpack

A logical database management system for PostgreSQL enabling incremental database deployment.
Apache License 2.0
8 stars 2 forks source link

Add Numeric type without precision/scale #108

Closed paupino closed 6 years ago

paupino commented 6 years ago

The NUMERIC type can optionally not include arguments. Currently the parser requires precision and scale to be specified. Support for this form should be added with the appropriate defaults.

paupino commented 6 years ago

See https://www.postgresql.org/docs/9.0/static/datatype-numeric.html for alternative format specifications.

paupino commented 6 years ago

This should be relatively straight forward. It'll require making the arguments Option's and handling the None case.