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

22 uses

	github.com/jackc/pgx/v5/pgconn (current package)
		pgconn.go#L886: 	SQL       string
		pgconn.go#L925: 	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#L825: 		rows.sql = sd.SQL
		conn.go#L1091: 						SQL:  bi.SQL,
		conn.go#L1093: 					distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1122: 						SQL: bi.SQL,
		conn.go#L1124: 					distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1145: 					SQL: bi.SQL,
		conn.go#L1147: 				distinctNewQueriesIdxMap[sd.SQL] = len(distinctNewQueries)
		conn.go#L1169: 				pipeline.SendPrepare(sd.Name, sd.SQL, nil)
		conn.go#L1184: 						sdCache.Invalidate(sd.SQL)
		conn.go#L1197: 					return newErrPreprocessingBatch("prepare", sd.SQL, err)
		conn.go#L1236: 			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)