ParameterStatus returns the value of a parameter reported by the server (e.g. server_version). Returns an empty string for unknown parameters.
(key string)
| 844 | // ParameterStatus returns the value of a parameter reported by the server (e.g. |
| 845 | // server_version). Returns an empty string for unknown parameters. |
| 846 | func (pgConn *PgConn) ParameterStatus(key string) string { |
| 847 | return pgConn.parameterStatuses[key] |
| 848 | } |
| 849 | |
| 850 | // CommandTag is the status text returned by PostgreSQL for a query. |
| 851 | type CommandTag struct { |
no outgoing calls