Skip to content

Commit 0d20d12

Browse files
Lorenzo Paolianijackc
authored andcommitted
Fixes a typo in the docs
I think this meant to say "until a notification is received" rather than "until a context is received".
1 parent 3599f64 commit 0d20d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ CopyFrom can be faster than an insert with as few as 5 rows.
309309
Listen and Notify
310310
311311
pgx can listen to the PostgreSQL notification system with the `Conn.WaitForNotification` method. It blocks until a
312-
context is received or the context is canceled.
312+
notification is received or the context is canceled.
313313
314314
_, err := conn.Exec(context.Background(), "listen channelname")
315315
if err != nil {

0 commit comments

Comments
 (0)