2
0

Improve docs

This commit is contained in:
Jack Christensen
2023-11-11 09:51:03 -06:00
committed by Jack Christensen
parent 9782306287
commit 9103457384
+1 -1
View File
@@ -338,7 +338,7 @@ func (c *Conn) Prepare(ctx context.Context, name, sql string) (sd *pgconn.Statem
return sd, nil return sd, nil
} }
// Deallocate releases a prepared statement. // Deallocate releases a prepared statement. Calling Deallocate on a non-existent prepared statement will succeed.
func (c *Conn) Deallocate(ctx context.Context, name string) error { func (c *Conn) Deallocate(ctx context.Context, name string) error {
var psName string var psName string
sd := c.preparedStatements[name] sd := c.preparedStatements[name]