Repository navigation
Pure PostgreSQL - #1
Merged
Merged
Conversation
haiodo
force-pushed
the
purePostgress
branch
2 times, most recently
from
November 15, 2025 19:22
f25c54f to
0e55cdb
Compare
aonnikov
approved these changes
Nov 16, 2025
aonnikov
approved these changes
Nov 17, 2025
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
haiodo
force-pushed
the
purePostgress
branch
from
November 17, 2025 12:52
8e5413b to
76913db
Compare
+ Optimize a stream docker build
haiodo
force-pushed
the
purePostgress
branch
2 times, most recently
from
November 17, 2025 15:30
ad1223f to
709575d
Compare
haiodo
force-pushed
the
purePostgress
branch
from
November 17, 2025 15:43
709575d to
18d16f0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and fixes related to database support, particularly enhancing compatibility between CockroachDB and PostgreSQL. The main changes include adding real PostgreSQL integration tests, introducing database flavor detection, updating SQL logic for compatibility, and improving upsert operations. There are also minor fixes, such as improved logging and escaping in the datalake service.
Database compatibility and testing improvements:
postgres-real.test.tsto ensure feature parity and reliability between CockroachDB and PostgreSQL backends.DBFlavortype and logic to detect the database flavor at runtime using the newgetDbFlavorutility, allowing code to adapt to CockroachDB or PostgreSQL features as needed. [1] [2] [3] [4] [5]PostgresAccountDBto accept and use the detecteddbFlavor, and to pass it to migrations for flavor-specific logic. [1] [2]SQL and migration fixes for compatibility:
userProfileforcountryandcityfields, improving data accuracy and compatibility. [1] [2]INSERT ... ON CONFLICT DO UPDATEsyntax, ensuring compatibility with both PostgreSQL and CockroachDB, and replacedUPSERTstatements accordingly. [1] [2] [3] [4]CI/CD and workflow enhancements:
uitest-cockroachfor running UI tests against CockroachDB, ensuring continuous integration coverage for both supported databases.Other fixes and improvements:
spacePermissions.tsfor readability.