Postgresql Create Temporary Table statement formatter.

def compile_create_temporary_table(table_name: str,
                                   column_statement: str,
                                   primary_key_statement: str) -> str:
    """Postgresql Create Temporary Table statement formatter."""

    statement = """
                CREATE TEMPORARY TABLE {table} ({columns} {primary_keys});
                """.format(table=table_name,
                           columns=column_statement,
                           primary_keys=primary_key_statement)
    return statement