code: func Overlay(db XODB, v0 []byte, v1 []byte, v2 int, v3 string, v4 string, v5 int, v6 uint8, v7 uint8, v8 int, v9 []byte, v10 []byte, v11 int, v12 int, v13 string, v14 string, v15 int, v16 int, v17 uint8, v18 uint8, v19 int, v20 int) (uint8, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.overlay($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)`
  
  	// run query
  	var ret uint8
  	XOLog(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20).Scan(&ret)
  	if err != nil {
  		return uint8(0), err
  	}
  
  	return ret, nil
  }
docs: // Overlay calls the stored procedure 'pg_catalog.overlay(bytea, bytea, integer, text, text, integer, bit, bit, integer, bytea, bytea, integer, integer, text, text, integer, integer, bit, bit, integer, integer) bit' on db.