def get_data_type(datum):
    """Determines the data type to set for the PostgreSQL database"""
    
    if datum.isdigit():
        return "integer"
    elif datum.replace(".", "", 1).isdigit():
        return "decimal"
    return "text"