xpgdiff.py
def print_schema_ddl(schema):
    """
    Prints the DDL to create all objects in a schema.

    :param schema: The schema
    """
    for table in schema.tables:
        print(str(table))
        print()

    for table in schema.tables:
        for foreign_key in table.foreign_keys:
            print(foreign_key.addstr())
    print()

    for view in schema.views:
        print(str(view))
        print()

    for function in schema.functions:
        print(str(function))
        print()

    Prints the DDL to create all objects in a schema.

    :param schema: The schema
    
Prints the DDL to create all objects in a schema.
Prints the DDL to create all objects in a schema .
def print_schema_ddl(schema):
    for table in schema.tables:
        print(str(table))
        print()
    for table in schema.tables:
        for foreign_key in table.foreign_keys:
            print(foreign_key.addstr())
    print()
    for view in schema.views:
        print(str(view))
        print()
    for function in schema.functions:
        print(str(function))
        print()
def print_schema_ddl ( schema ) : for table in schema . tables : print ( str ( table ) ) print ( ) for table in schema . tables : for foreign_key in table . foreign_keys : print ( foreign_key . addstr ( ) ) print ( ) for view in schema . views : print ( str ( view ) ) print ( ) for function in schema . functions : print ( str ( function ) ) print ( )
Prints the DDL to create all objects in a schema.
Prints the DDL to create all objects in a schema .
"""
    Prints the DDL to create all objects in a schema.

    :param schema: The schema
    """
schema
None