Skip to content
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

Add new PostgreSQL backend stub #3319

Merged
merged 53 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
2cbcb3b
Add dummy decorator
AlekSi Sep 4, 2023
a16d4ca
Improve dummy
AlekSi Sep 4, 2023
7855c79
Tweak timestamp
AlekSi Sep 4, 2023
67c174f
Add basic oplog decorator
AlekSi Sep 4, 2023
4f2add7
Clean-up `*types.Timestamp` a bit
AlekSi Sep 4, 2023
75fdd96
Merge branch 'timestamp' into decorators
AlekSi Sep 4, 2023
d433561
Make it kinda work
AlekSi Sep 4, 2023
3e8dd1f
Fix
AlekSi Sep 5, 2023
757874e
Merge branch 'timestamp' into decorators
AlekSi Sep 5, 2023
5532b29
Merge branch 'main' into decorators
AlekSi Sep 5, 2023
47bcc04
Enable MongoDB OpLog
AlekSi Sep 5, 2023
ceac70d
Enable OpLog in MongoDB
AlekSi Sep 5, 2023
d14b858
Merge branch 'oplog' into decorators
AlekSi Sep 5, 2023
9c5bdd5
Make repl to work
AlekSi Sep 5, 2023
38b34d2
Add TODOs
AlekSi Sep 5, 2023
788fa5f
Update labels
AlekSi Sep 5, 2023
a2b2939
Improve test
AlekSi Sep 5, 2023
c965516
Lint
AlekSi Sep 5, 2023
396d386
Merge branch 'oplog' into decorators
AlekSi Sep 5, 2023
24a97d8
Merge branch 'main' into decorators
AlekSi Sep 6, 2023
fd865d4
Pass all options
AlekSi Sep 6, 2023
add67f0
Merge branch 'main' into decorators
AlekSi Sep 6, 2023
6749a40
Add `saslStart`
AlekSi Sep 6, 2023
09fede8
re-lint
AlekSi Sep 6, 2023
4ad6000
Merge branch 'main' into decorators
AlekSi Sep 6, 2023
8a85d16
Add missing methods
AlekSi Sep 6, 2023
a0b3b66
Merge branch 'decorators' into new-pg
AlekSi Sep 6, 2023
f52c8ef
Merge branch 'main' into new-pg
AlekSi Sep 7, 2023
37d431a
Use Ping method
AlekSi Sep 7, 2023
dcb1dcd
Implement ping
AlekSi Sep 7, 2023
89d4eaa
WIP
AlekSi Sep 7, 2023
98deddf
Merge branch 'main' into new-pg
AlekSi Sep 7, 2023
d06229e
Merge branch 'main' into new-pg
AlekSi Sep 7, 2023
88ba789
Remove `Clode`
AlekSi Sep 7, 2023
d808d41
Tweak
AlekSi Sep 7, 2023
6eb8442
Remove `Database.Close`, add `Database.Ping`
AlekSi Sep 7, 2023
f4c3cee
Relax toolchain
AlekSi Sep 7, 2023
0a76b0b
Merge branch 'ping-close' into new-pg
AlekSi Sep 7, 2023
879e8f5
Do not use Ping just yet
AlekSi Sep 7, 2023
bca9caa
Remove ping
AlekSi Sep 7, 2023
948d239
Update comments
AlekSi Sep 7, 2023
a232c4f
Remove conninfo reference
AlekSi Sep 7, 2023
2eedebd
Remove commented out code
AlekSi Sep 7, 2023
949135e
Merge branch 'ping-close' into new-pg
AlekSi Sep 7, 2023
78be87e
Unskip test
AlekSi Sep 8, 2023
8b11dd8
Merge branch 'ping-close' into new-pg
AlekSi Sep 8, 2023
91d5772
Merge branch 'main' into new-pg
AlekSi Sep 8, 2023
5d08d85
Merge branch 'main' into new-pg
AlekSi Sep 8, 2023
fea87fc
Start pool
AlekSi Sep 8, 2023
f4b9db8
Rework
AlekSi Sep 10, 2023
a2c9b56
Tweaks
AlekSi Sep 10, 2023
31809de
Tweak flags
AlekSi Sep 10, 2023
ea4d7db
Tweak flags
AlekSi Sep 10, 2023
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
Merge branch 'main' into new-pg
# Conflicts:
#	tools/go.mod
#	tools/go.sum
  • Loading branch information
AlekSi committed Sep 7, 2023
commit 98deddf4c486e82478d5f275d4bf013a8d05b536
38 changes: 4 additions & 34 deletions tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
module github.com/FerretDB/FerretDB/tools

go 1.21

toolchain go1.21.0
go 1.21.1

require (
github.com/BurntSushi/go-sumtype v0.0.0-20221020234012-480526a59796
github.com/go-task/task/v3 v3.29.1
github.com/google/go-github/v41 v41.0.0
github.com/goreleaser/nfpm/v2 v2.32.0
github.com/quasilyte/go-consistent v0.6.0
github.com/reviewdog/reviewdog v0.15.0
github.com/stretchr/testify v1.8.4
golang.org/x/oauth2 v0.12.0
golang.org/x/perf v0.0.0-20230906145419-e9dd5d2713ed
Expand All @@ -21,10 +18,6 @@ require (
)

require (
cloud.google.com/go v0.110.7 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/datastore v1.14.0 // indirect
github.com/AlekSi/pointer v1.2.0 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.2.1 // indirect
Expand All @@ -35,7 +28,6 @@ require (
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb // indirect
github.com/bradleyfalzon/ghinstallation/v2 v2.6.0 // indirect
github.com/caarlos0/go-version v0.1.1 // indirect
github.com/cavaliergopher/cpio v1.0.1 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
Expand All @@ -56,22 +48,14 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-github/v53 v53.2.0 // indirect
github.com/google/go-github/v55 v55.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/licensecheck v0.3.1 // indirect
github.com/google/rpmpack v0.5.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/safehtml v0.0.3-0.20220430015336-00016cfeca15 // indirect
github.com/google/safehtml v0.0.3-0.20211026203422-d6f0e11a5516 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/goreleaser/chglog v0.5.0 // indirect
github.com/goreleaser/fileglob v1.3.0 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
github.com/haya14busa/go-actions-toolkit v0.0.0-20200105081403-ca0307860f01 // indirect
github.com/huandu/xstrings v1.3.3 // indirect
github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
Expand All @@ -97,9 +81,6 @@ require (
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/radovskyb/watcher v1.0.7 // indirect
github.com/reva2/bitbucket-insights-api v1.0.0 // indirect
github.com/reviewdog/errorformat v0.0.0-20230810075619-82e5d4ad20d2 // indirect
github.com/reviewdog/go-bitbucket v0.0.0-20201024094602-708c3f6a7de0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sajari/fuzzy v1.0.0 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
Expand All @@ -109,30 +90,19 @@ require (
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/vvakame/sdlog v1.2.0 // indirect
github.com/xanzy/go-gitlab v0.91.1 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/yuin/goldmark v1.4.13 // indirect
github.com/yuin/goldmark-emoji v1.0.1 // indirect
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/build v0.0.0-20230905185615-7f65e2bc812a // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/exp v0.0.0-20230809094429-853ea248256d // indirect
golang.org/x/exp v0.0.0-20230212135524-a684f29349b6 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/term v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.128.0 // indirect
google.golang.org/appengine v1.6.8-0.20221117013220-504804fb50de // indirect
google.golang.org/genproto v0.0.0-20230821184602-ccc8af3d0e93 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/grpc v1.57.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.