SQL Database: Prototype get_all, fix up database handling of packed data types.