-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix: turns out ON CONFLICT DO NOTHING doesn't work with RETURNING #2382
Conversation
@@ -45,7 +45,7 @@ type serveCmd struct { | |||
Stop bool `help:"Stop the running FTL instance. Can be used with --background to restart the server" default:"false"` | |||
StartupTimeout time.Duration `help:"Timeout for the server to start up." default:"1m"` | |||
ObservabilityConfig observability.Config `embed:"" prefix:"o11y-"` | |||
DatabaseImage string `help:"The container image to start for the database" default:"postgres:15.4" env:"FTL_DATABASE_IMAGE" hidden:""` | |||
DatabaseImage string `help:"The container image to start for the database" default:"postgres:15.8" env:"FTL_DATABASE_IMAGE" hidden:""` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now matches the version in the Docker compose file.
Maybe we should run the build all task as part of a normal PR, as it now picks up SCM changes to that happen when building. |
I'm going to add a test. |
3f3e014
to
1ed0ee3
Compare
It's pretty slow unfortunately, which is why I excluded it :( |
1ed0ee3
to
d5e087f
Compare
The workaround is to do a dummy update and return the updated id. Also added a test.
d5e087f
to
7d9a2e5
Compare
The workaround is to do a dummy update and return the updated id.