Skip to content

chore: add PGLocks query to analyze what locks are held in pg #15308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
Emyrk committed Oct 31, 2024
commit 6e0c67a4693327a267ededa828dff555add3a9d8
1 change: 1 addition & 0 deletions coderd/database/dbmem/dbmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func newUniqueConstraintError(uc database.UniqueConstraint) *pq.Error {
func (*FakeQuerier) Ping(_ context.Context) (time.Duration, error) {
return 0, nil
}

func (*FakeQuerier) PGLocks(ctx context.Context) (database.PGLocks, error) {
return []database.PGLock{}, nil
}
Expand Down
Loading