-
Type: Task
-
Status: Open (View Workflow)
-
Priority: Normal
-
Resolution: Unresolved
-
Component/s: None
-
Labels:
Postgres does not provide unsigned integer types (nor does the SQL standard). At least one of our column types (for pfsDesignIds, etc.) requires 64-bit unsigned ints, which do not have a larger type to upgrade to. Besides that, sqlAlchemy has no existing mechanism for synthesizing a new type.
There is a pguint extension which people seem to use. Or we could convert signed<->unsigned above the SQL/sqlAlchemy layer. Others? MySQL has unsigned types, FWIW.
This is not a problem for FITS. For tables, TSCAL and TZERO do the conversion, and for header cards the content of the integer field is (surprisingly) not constrained.
Kiyoto Yabe? rhl? price?
- blocks
-
INSTRM-1096 Add {{pfs_visit.pfs_design_id}} column
- Done