human
Solve the following python programming problem given the following code:
def insert_data(test_case, host, port) : 
    '
    Insert some data into the database.

    :param TestCase test_case: A test.
    :param host: Host to connect to.
    :param port: Port to connect to.

    :return: ``Deferred`` that fires when data has been inserted.
    ' 
    d = get_postgres_connection (host, add_data) 
    def create_database(connection) : 
        connection.autocommit = True 
        cursor = connection.cursor () 
        cursor.execute ('CREATE DATABASE flockertest;') 
        cursor.close () 
        connection.close () 
d.addCallback (create_database) 
    d.addCallback ((lambda _ : get_postgres_connection (host, port, 'flockertest'))) 
    def add_data(connection) : 
        cursor = connection.cursor () 
        cursor.execute ('CREATE TABLE testtable (testcolumn int);') 
        cursor.execute ('INSERT INTO testtable (testcolumn) VALUES (123);') 
        connection.commit () 
        connection.close () 
d.addCallback (add_data) 
    return d 

    
    

    Fix the buggy line: d = get_postgres_connection (host, add_data)
assistant
#Here is Python program to fix the buggy line: d = get_postgres_connection (host, add_data)
.

d = get_postgres_connection (host, port)