summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v4/doc.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-11-27 15:26:58 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-27 15:26:58 +0100
commit182b4eea73881c611a0f519576aa6ad2aa6799c2 (patch)
tree230fac469690fcee8797b13585e739be148d4789 /vendor/github.com/jackc/pgx/v4/doc.go
parentRequire confirmed email when checking oauth token (#332) (diff)
downloadgotosocial-182b4eea73881c611a0f519576aa6ad2aa6799c2.tar.xz
Update dependencies (#333)
Diffstat (limited to 'vendor/github.com/jackc/pgx/v4/doc.go')
-rw-r--r--vendor/github.com/jackc/pgx/v4/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/jackc/pgx/v4/doc.go b/vendor/github.com/jackc/pgx/v4/doc.go
index 51b0d9f44..222f90479 100644
--- a/vendor/github.com/jackc/pgx/v4/doc.go
+++ b/vendor/github.com/jackc/pgx/v4/doc.go
@@ -309,7 +309,7 @@ CopyFrom can be faster than an insert with as few as 5 rows.
Listen and Notify
pgx can listen to the PostgreSQL notification system with the `Conn.WaitForNotification` method. It blocks until a
-context is received or the context is canceled.
+notification is received or the context is canceled.
_, err := conn.Exec(context.Background(), "listen channelname")
if err != nil {