[Feature] add Postgress Version Check #5621

Open
opened 2025-11-02 06:31:11 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @6543 on GitHub (Jun 24, 2020).

some old versions dont work see:

Originally created by @6543 on GitHub (Jun 24, 2020). some old versions dont work see: * https://github.com/go-gitea/gitea/issues/11951 * https://drone.gitea.io/go-gitea/gitea/27256/3/6
GiteaMirror added the type/proposalissue/confirmed labels 2025-11-02 06:31:11 -06:00
Author
Owner

@6543 commented on GitHub (Jun 24, 2020):

... https://github.com/go-gitea/gitea/pull/12036

@6543 commented on GitHub (Jun 24, 2020): ... https://github.com/go-gitea/gitea/pull/12036
Author
Owner

@lunny commented on GitHub (Jun 24, 2020):

Just send a PR to xorm to add a DBVersion method. https://gitea.com/xorm/xorm/pulls/1723

@lunny commented on GitHub (Jun 24, 2020): Just send a PR to xorm to add a DBVersion method. https://gitea.com/xorm/xorm/pulls/1723
Author
Owner

@zeripath commented on GitHub (Jun 24, 2020):

https://github.com/go-gitea/gitea/issues/11951#issuecomment-649034188

@6543 It looks like that drone failed on the migration tests which were not setup for old postgreSQLs - it's possible that the tests would have succeeded if you had excluded the migration-tests.

@zeripath commented on GitHub (Jun 24, 2020): https://github.com/go-gitea/gitea/issues/11951#issuecomment-649034188 @6543 It looks like that drone failed on the migration tests which were not setup for old postgreSQLs - it's possible that the tests would have succeeded if you had excluded the migration-tests.
Author
Owner

@6543 commented on GitHub (Jun 24, 2020):

Throu migration has to work correctly too ...

@6543 commented on GitHub (Jun 24, 2020): Throu migration has to work correctly too ...
Author
Owner

@zeripath commented on GitHub (Jun 24, 2020):

That test is not failing on migration it's failing on restoring from the backup - which was generated on a newer postgres.

@zeripath commented on GitHub (Jun 24, 2020): That test is not failing on migration it's failing on restoring from the backup - which was generated on a newer postgres.
Author
Owner

@stale[bot] commented on GitHub (Aug 23, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Aug 23, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@6543 commented on GitHub (Aug 24, 2020):

ping

@6543 commented on GitHub (Aug 24, 2020): ping
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5621