github.com/jackc/pgconn.Config.RuntimeParams (field)
16 uses
github.com/jackc/pgconn (current package)
config.go#L42: RuntimeParams map[string]string // Run-time parameters to set on connection as session default values (e.g. search_path or application_name)
config.go#L73: if newConf.RuntimeParams != nil {
config.go#L74: newConf.RuntimeParams = make(map[string]string, len(c.RuntimeParams))
config.go#L75: for k, v := range c.RuntimeParams {
config.go#L76: newConf.RuntimeParams[k] = v
config.go#L232: RuntimeParams: make(map[string]string),
config.go#L272: config.RuntimeParams[k] = v
pgconn.go#L249: for k, v := range config.RuntimeParams {
github.com/jackc/pgx/v4
conn.go#L139: if s, ok := config.RuntimeParams["statement_cache_capacity"]; ok {
conn.go#L140: delete(config.RuntimeParams, "statement_cache_capacity")
conn.go#L148: if s, ok := config.RuntimeParams["statement_cache_mode"]; ok {
conn.go#L149: delete(config.RuntimeParams, "statement_cache_mode")
conn.go#L167: if s, ok := config.RuntimeParams["prefer_simple_protocol"]; ok {
conn.go#L168: delete(config.RuntimeParams, "prefer_simple_protocol")
conn.go#L241: if _, ok := config.Config.RuntimeParams["replication"]; ok {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |