github.com/jackc/pgx/v5/pgconn.StatementDescription.SQL (field)

22 uses

	github.com/jackc/pgx/v5/pgconn (current package)
		pgconn.go#L936: 	SQL       string
		pgconn.go#L975: 	psd := &StatementDescription{Name: name, SQL: sql}

	github.com/jackc/pgx/v5
		conn.go#L334: 		if sd, ok = c.preparedStatements[name]; ok && sd.SQL == sql {
		conn.go#L602: 	result := c.pgConn.ExecParams(ctx, sd.SQL, c.eqb.ParamValues, sd.ParamOIDs, c.eqb.ParamFormats, c.eqb.ResultFormats).Read()
		conn.go#L826: 		rows.sql = sd.SQL
		conn.go#L1092: 						SQL:  bi.SQL,
		conn.go#L1094: 					distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1123: 						SQL: bi.SQL,
		conn.go#L1125: 					distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1146: 					SQL: bi.SQL,
		conn.go#L1148: 				distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1170: 				pipeline.SendPrepare(sd.Name, sd.SQL, nil)
		conn.go#L1185: 						sdCache.Invalidate(sd.SQL)
		conn.go#L1198: 					return newErrPreprocessingBatch("prepare", sd.SQL, err)
		conn.go#L1237: 			pipeline.SendQueryParams(bi.sd.SQL, c.eqb.ParamValues, bi.sd.ParamOIDs, c.eqb.ParamFormats, c.eqb.ResultFormats)

	github.com/jackc/pgx/v5/internal/stmtcache
		lru_cache.go#L57: 	if sd.SQL == "" {
		lru_cache.go#L61: 	if _, present := c.m[sd.SQL]; present {
		lru_cache.go#L66: 	if _, invalidated := c.invalidSet[sd.SQL]; invalidated {
		lru_cache.go#L77: 	c.m[sd.SQL] = node
		lru_cache.go#L100: 		c.invalidSet[node.sd.SQL] = struct{}{}
		lru_cache.go#L140: 	c.invalidSet[node.sd.SQL] = struct{}{}
		lru_cache.go#L141: 	delete(c.m, node.sd.SQL)