Define macros for handling typmod manipulation for date/time types.
Should be more robust than all of that brute-force inline code. Rename macros for masking and typmod manipulation to put TIMESTAMP_ or INTERVAL_ in front of the macro name, to reduce the possibility of name space collisions.
Showing
Please register or sign in to comment