call the method connection.creation.sql_for_pending_references with 3 arguments: refo, style and pending_references,
final_output . extend ( connection . creation . sql_for_pending_references ( refto , style , pending_references ) )