You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: plpgsql.go
    path of file: ./repos/cockroach/pkg/internal/sqlsmith
    
    the code of the file until where you have to start completion: // Copyright 2024 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source 
    
func makePLpgSQLExecSQL(s *Smither, scope plpgsqlBlockScope) (stmt ast.Statement, ok bool) {
	// TODO(#106368): add support for SELECT/RETURNING INTO statements.
	const maxRetries = 5
	var sqlStmt tree.Statement
	for i := 0; i < maxRetries; i++ {
		sqlStmt, ok = s.makeSQLStmtForRoutine(scope.vol, scope.refs)
		if ok {
			return &ast.Execute{SqlStmt: sqlStmt}, true
		}
	}
	return nil, false
}