Tristan Partin
eefad27538
Inline various migration queries ( #10231 )
...
There was no value in saving them off to temporary variables.
Signed-off-by: Tristan Partin <tristan@neon.tech >
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-01-02 22:12:56 +00:00
Tristan Partin
363ea97f69
Add more substantial tests for compute migrations ( #9811 )
...
The previous tests really didn't do much. This set should be quite a bit
more encompassing.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-01-02 18:37:50 +00:00
Tristan Partin
ba17025a57
Run each migration in its own transaction
...
Previously, every migration was run in the same transaction. This
is preparatory work for fixing CVE-2024-4317.
2024-07-16 12:12:29 -05:00
Tristan Partin
b5ab055526
Rename compute migrations to start at 1
...
This matches what we put into the neon_migration.migration_id table.
2024-07-16 12:12:29 -05:00
Tristan Partin
6d3cb222ee
Refactor how migrations are ran
...
Just a small improvement I noticed while looking at fixing CVE-2024-4317
in Neon.
2024-07-09 12:42:09 -05:00