Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fergusstrange/embedded-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.21.0
Choose a base ref
...
head repository: fergusstrange/embedded-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.22.0
Choose a head ref
  • 3 commits
  • 12 files changed
  • 3 contributors

Commits on May 21, 2023

  1. [config.go] Add GetConnectionURL (#108)

    * [config.go] Add `GetConnectionURL`
    
    * [test_config.go] Add basic test for `GetConnectionURL`
    SamuelMarks authored May 21, 2023
    Configuration menu
    Copy the full SHA
    cd07cf7 View commit details
    Browse the repository at this point in the history
  2. Add sync.Mutex and os.Rename to prevent corrupted file when downl…

    …oading the Postgres archive (#105)
    
    * Add sync.Mutex to prevent collisions
    
    * * add atomic download, and use defer to ensure mutex unlock
    
    * * move mutex to global
    
    * * fix tests
    
    * * update platform-test
    
    * * update examples
    
    * * remove atomic dependency
    
    * * remove code duplication
    
    * * reduce test parallel run count
    
    * * fix race condition in tests
    
    * * run tests
    
    * * attempt to fix windows
    
    * * attempt a different solution for windows
    
    * * revert changes
    
    * * try additional fix for windows
    
    * * add another test
    
    * * catch syscall.EEXIST
    
    * * fix test
    
    * * fix test
    
    * * add extra debugging
    
    * * attempt to fix windows
    
    * * add additional error message
    
    * * fix race in decompression
    
    * * more fixes
    
    * * use atomic
    
    * * add extra debug
    
    * * try catching the error
    
    * * try different permissions
    
    * * add more debugging
    
    * * more debug
    
    * * more debug
    
    * * test dest
    
    * * attempt to close temp file
    
    * * simplify
    
    * * remove atomic
    
    * * clean up code
    
    * * add more tests
    
    * * clean up temporary files
    
    * * prevent file being opened twice
    alecsammon authored May 21, 2023
    Configuration menu
    Copy the full SHA
    54a6dcf View commit details
    Browse the repository at this point in the history
  3. Update default version (#113)

    Update major versions
    fergusstrange authored May 21, 2023
    Configuration menu
    Copy the full SHA
    b632dc8 View commit details
    Browse the repository at this point in the history
Loading