pg 1.4.5-x64-mingw32 → 1.4.6-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - checksums.yaml.gz.sig +0 -0
 - data/.appveyor.yml +14 -8
 - data/.github/workflows/binary-gems.yml +41 -10
 - data/.github/workflows/source-gem.yml +18 -12
 - data/.gitignore +8 -2
 - data/.travis.yml +2 -2
 - data/{History.rdoc → History.md} +168 -153
 - data/README.ja.md +266 -0
 - data/README.md +272 -0
 - data/Rakefile +12 -3
 - data/Rakefile.cross +7 -11
 - data/certs/larskanis-2023.pem +24 -0
 - data/ext/pg_connection.c +106 -26
 - data/lib/2.5/pg_ext.so +0 -0
 - data/lib/2.6/pg_ext.so +0 -0
 - data/lib/2.7/pg_ext.so +0 -0
 - data/lib/3.0/pg_ext.so +0 -0
 - data/lib/pg/connection.rb +20 -19
 - data/lib/pg/exceptions.rb +7 -0
 - data/lib/pg/version.rb +1 -1
 - data/lib/pg.rb +0 -6
 - data/lib/x64-mingw32/libpq.dll +0 -0
 - data/pg.gemspec +4 -2
 - data/rakelib/task_extension.rb +1 -1
 - data/translation/.po4a-version +7 -0
 - data/translation/po/all.pot +875 -0
 - data/translation/po/ja.po +868 -0
 - data/translation/po4a.cfg +9 -0
 - data.tar.gz.sig +0 -0
 - metadata +87 -30
 - metadata.gz.sig +0 -0
 - data/README.ja.rdoc +0 -13
 - data/README.rdoc +0 -233
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 8fa5e4a32df8a44e11579152077cacaec6442af7735dbb684f12ffc961b7f0ff
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 38fd86d2ec1e95f6761d4402f70e76afb6968859e46dc002fff0bb89f8e8993e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: beeeee620b91fe3f83b252ff895594dc6405440ef242896b52905c7d442aa9cdd5ee0952df49894a149a646f87927c6b7cb5636a652ccb8b4e1e8994682fb8d5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2fe1aeaea30590ff7387f13ad368082b2061e911094d2193c55414cfe784699e66e820c259d9b811a359596aad2b011f41e7e8da71fa6f53d35cbb3cb5af552e
         
     | 
    
        checksums.yaml.gz.sig
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/.appveyor.yml
    CHANGED
    
    | 
         @@ -7,8 +7,11 @@ install: 
     | 
|
| 
       7 
7 
     | 
    
         
             
              - ps: |
         
     | 
| 
       8 
8 
     | 
    
         
             
                  if ($env:RUBYDOWNLOAD -ne $null) {
         
     | 
| 
       9 
9 
     | 
    
         
             
                    $(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-$env:RUBYDOWNLOAD.exe", "$pwd/ruby-setup.exe")
         
     | 
| 
       10 
     | 
    
         
            -
                    cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
         
     | 
| 
      
 10 
     | 
    
         
            +
                    cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby$env:ruby_version
         
     | 
| 
       11 
11 
     | 
    
         
             
                  }
         
     | 
| 
      
 12 
     | 
    
         
            +
              - cmd: |
         
     | 
| 
      
 13 
     | 
    
         
            +
                  ridk enable
         
     | 
| 
      
 14 
     | 
    
         
            +
                  c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-pkgconf ${MINGW_PACKAGE_PREFIX}-libyaml ${MINGW_PACKAGE_PREFIX}-gcc"
         
     | 
| 
       12 
15 
     | 
    
         
             
              - ruby --version
         
     | 
| 
       13 
16 
     | 
    
         
             
              - gem --version
         
     | 
| 
       14 
17 
     | 
    
         
             
              - gem install bundler --conservative
         
     | 
| 
         @@ -18,19 +21,22 @@ install: 
     | 
|
| 
       18 
21 
     | 
    
         
             
                  {
         
     | 
| 
       19 
22 
     | 
    
         
             
                    $(new-object net.webclient).DownloadFile('http://get.enterprisedb.com/postgresql/postgresql-' + $env:PGVERSION + '.exe', 'C:/postgresql-setup.exe')
         
     | 
| 
       20 
23 
     | 
    
         
             
                    cmd /c "C:/postgresql-setup.exe" --mode unattended --extract-only 1
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                    $env:PATH = 'C:/Program Files/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
         
     | 
| 
      
 26 
     | 
    
         
            +
                    $env:PATH = 'C:/Program Files (x86)/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
         
     | 
| 
      
 27 
     | 
    
         
            +
                  } else {
         
     | 
| 
      
 28 
     | 
    
         
            +
                    c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed `${MINGW_PACKAGE_PREFIX}-postgresql"
         
     | 
| 
       21 
29 
     | 
    
         
             
                  }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
      
 30 
     | 
    
         
            +
              - echo %PATH%
         
     | 
| 
      
 31 
     | 
    
         
            +
              - pg_config
         
     | 
| 
       24 
32 
     | 
    
         
             
            build_script:
         
     | 
| 
       25 
33 
     | 
    
         
             
              - bundle exec rake -rdevkit compile --trace
         
     | 
| 
       26 
34 
     | 
    
         
             
            test_script:
         
     | 
| 
       27 
35 
     | 
    
         
             
              - bundle exec rake test PG_DEBUG=0
         
     | 
| 
      
 36 
     | 
    
         
            +
            on_failure:
         
     | 
| 
      
 37 
     | 
    
         
            +
              - find -name mkmf.log | xargs cat
         
     | 
| 
       28 
38 
     | 
    
         
             
            environment:
         
     | 
| 
       29 
39 
     | 
    
         
             
              matrix:
         
     | 
| 
       30 
40 
     | 
    
         
             
                - ruby_version: "head"
         
     | 
| 
       31 
41 
     | 
    
         
             
                  RUBYDOWNLOAD: x86
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
                  PGVER: 10
         
     | 
| 
       34 
     | 
    
         
            -
                - ruby_version: "25"
         
     | 
| 
       35 
     | 
    
         
            -
                  PGVERSION: 9.3.25-1-windows
         
     | 
| 
       36 
     | 
    
         
            -
                  PGVER: 9.3
         
     | 
| 
      
 42 
     | 
    
         
            +
                - ruby_version: "30-x64"
         
     | 
| 
         @@ -1,6 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            name: Binary gems
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            on: 
     | 
| 
      
 3 
     | 
    
         
            +
            on:
         
     | 
| 
      
 4 
     | 
    
         
            +
              push:
         
     | 
| 
      
 5 
     | 
    
         
            +
              pull_request:
         
     | 
| 
      
 6 
     | 
    
         
            +
              workflow_dispatch:
         
     | 
| 
      
 7 
     | 
    
         
            +
              schedule:
         
     | 
| 
      
 8 
     | 
    
         
            +
                - cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
         
     | 
| 
       4 
9 
     | 
    
         | 
| 
       5 
10 
     | 
    
         
             
            jobs:
         
     | 
| 
       6 
11 
     | 
    
         
             
              job_build_x64:
         
     | 
| 
         @@ -12,12 +17,13 @@ jobs: 
     | 
|
| 
       12 
17 
     | 
    
         
             
                    include:
         
     | 
| 
       13 
18 
     | 
    
         
             
                      - platform: "x64-mingw-ucrt"
         
     | 
| 
       14 
19 
     | 
    
         
             
                      - platform: "x64-mingw32"
         
     | 
| 
      
 20 
     | 
    
         
            +
                      - platform: "x86-mingw32"
         
     | 
| 
       15 
21 
     | 
    
         
             
                steps:
         
     | 
| 
       16 
     | 
    
         
            -
                  - uses: actions/checkout@ 
     | 
| 
      
 22 
     | 
    
         
            +
                  - uses: actions/checkout@v3
         
     | 
| 
       17 
23 
     | 
    
         
             
                  - name: Set up Ruby
         
     | 
| 
       18 
24 
     | 
    
         
             
                    uses: ruby/setup-ruby@v1
         
     | 
| 
       19 
25 
     | 
    
         
             
                    with:
         
     | 
| 
       20 
     | 
    
         
            -
                      ruby-version: "3. 
     | 
| 
      
 26 
     | 
    
         
            +
                      ruby-version: "3.2"
         
     | 
| 
       21 
27 
     | 
    
         
             
                  - run: bundle install
         
     | 
| 
       22 
28 
     | 
    
         | 
| 
       23 
29 
     | 
    
         
             
                  - name: Create a dummy cert to satisfy the build
         
     | 
| 
         @@ -31,7 +37,7 @@ jobs: 
     | 
|
| 
       31 
37 
     | 
    
         
             
                    run: bundle exec rake gem:windows:${{ matrix.platform }}
         
     | 
| 
       32 
38 
     | 
    
         | 
| 
       33 
39 
     | 
    
         
             
                  - name: Upload binary gem
         
     | 
| 
       34 
     | 
    
         
            -
                    uses: actions/upload-artifact@ 
     | 
| 
      
 40 
     | 
    
         
            +
                    uses: actions/upload-artifact@v3
         
     | 
| 
       35 
41 
     | 
    
         
             
                    with:
         
     | 
| 
       36 
42 
     | 
    
         
             
                      name: binary-gem
         
     | 
| 
       37 
43 
     | 
    
         
             
                      path: pkg/*.gem
         
     | 
| 
         @@ -43,25 +49,43 @@ jobs: 
     | 
|
| 
       43 
49 
     | 
    
         
             
                  fail-fast: false
         
     | 
| 
       44 
50 
     | 
    
         
             
                  matrix:
         
     | 
| 
       45 
51 
     | 
    
         
             
                    include:
         
     | 
| 
       46 
     | 
    
         
            -
                      -  
     | 
| 
      
 52 
     | 
    
         
            +
                      - os: windows-latest
         
     | 
| 
      
 53 
     | 
    
         
            +
                        ruby: "3.2"
         
     | 
| 
       47 
54 
     | 
    
         
             
                        platform: "x64-mingw-ucrt"
         
     | 
| 
       48 
55 
     | 
    
         
             
                        PGVERSION: 15.1-1-windows-x64
         
     | 
| 
       49 
     | 
    
         
            -
                      -  
     | 
| 
      
 56 
     | 
    
         
            +
                      - os: windows-latest
         
     | 
| 
      
 57 
     | 
    
         
            +
                        ruby: "3.1.3-1"
         
     | 
| 
      
 58 
     | 
    
         
            +
                        platform: "x86-mingw32"
         
     | 
| 
      
 59 
     | 
    
         
            +
                        PGVERSION: 10.20-1-windows
         
     | 
| 
      
 60 
     | 
    
         
            +
                      - os: windows-latest
         
     | 
| 
      
 61 
     | 
    
         
            +
                        ruby: "2.5"
         
     | 
| 
       50 
62 
     | 
    
         
             
                        platform: "x64-mingw32"
         
     | 
| 
       51 
63 
     | 
    
         
             
                        PGVERSION: 10.20-1-windows
         
     | 
| 
       52 
64 
     | 
    
         | 
| 
       53 
     | 
    
         
            -
                runs-on:  
     | 
| 
      
 65 
     | 
    
         
            +
                runs-on: ${{ matrix.os }}
         
     | 
| 
       54 
66 
     | 
    
         
             
                env:
         
     | 
| 
       55 
67 
     | 
    
         
             
                  PGVERSION: ${{ matrix.PGVERSION }}
         
     | 
| 
       56 
68 
     | 
    
         
             
                steps:
         
     | 
| 
       57 
     | 
    
         
            -
                  - uses: actions/checkout@ 
     | 
| 
      
 69 
     | 
    
         
            +
                  - uses: actions/checkout@v3
         
     | 
| 
       58 
70 
     | 
    
         
             
                  - name: Set up Ruby
         
     | 
| 
      
 71 
     | 
    
         
            +
                    if: matrix.platform != 'x86-mingw32'
         
     | 
| 
       59 
72 
     | 
    
         
             
                    uses: ruby/setup-ruby@v1
         
     | 
| 
       60 
73 
     | 
    
         
             
                    with:
         
     | 
| 
       61 
74 
     | 
    
         
             
                      ruby-version: ${{ matrix.ruby }}
         
     | 
| 
       62 
75 
     | 
    
         | 
| 
      
 76 
     | 
    
         
            +
                  - name: Set up 32 bit x86 Ruby
         
     | 
| 
      
 77 
     | 
    
         
            +
                    if: matrix.platform == 'x86-mingw32'
         
     | 
| 
      
 78 
     | 
    
         
            +
                    run: |
         
     | 
| 
      
 79 
     | 
    
         
            +
                      $(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-${{ matrix.ruby }}/rubyinstaller-${{ matrix.ruby }}-x86.exe", "$pwd/ruby-setup.exe")
         
     | 
| 
      
 80 
     | 
    
         
            +
                      cmd /c ruby-setup.exe /currentuser /verysilent /dir=C:/Ruby-${{ matrix.ruby }}
         
     | 
| 
      
 81 
     | 
    
         
            +
                      echo "c:/ruby-${{ matrix.ruby }}/bin"  | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
                      c:/ruby-${{ matrix.ruby }}/bin/ridk enable
         
     | 
| 
      
 84 
     | 
    
         
            +
                      c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed make `${MINGW_PACKAGE_PREFIX}-pkgconf `${MINGW_PACKAGE_PREFIX}-libyaml `${MINGW_PACKAGE_PREFIX}-gcc `${MINGW_PACKAGE_PREFIX}-make"
         
     | 
| 
      
 85 
     | 
    
         
            +
                      echo "C:/msys64/$env:MSYSTEM_PREFIX/bin"  | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
       63 
87 
     | 
    
         
             
                  - name: Download gem from build job
         
     | 
| 
       64 
     | 
    
         
            -
                    uses: actions/download-artifact@ 
     | 
| 
      
 88 
     | 
    
         
            +
                    uses: actions/download-artifact@v3
         
     | 
| 
       65 
89 
     | 
    
         
             
                    with:
         
     | 
| 
       66 
90 
     | 
    
         
             
                      name: binary-gem
         
     | 
| 
       67 
91 
     | 
    
         | 
| 
         @@ -79,8 +103,15 @@ jobs: 
     | 
|
| 
       79 
103 
     | 
    
         
             
                      echo "PGUSER=$env:USERNAME"  | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
         
     | 
| 
       80 
104 
     | 
    
         
             
                      echo "PGPASSWORD="  | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
         
     | 
| 
       81 
105 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
                  - run:  
     | 
| 
      
 106 
     | 
    
         
            +
                  - run: echo $env:PATH
         
     | 
| 
      
 107 
     | 
    
         
            +
                  - run: gem update --system 3.3.26
         
     | 
| 
       83 
108 
     | 
    
         
             
                  - run: bundle install
         
     | 
| 
       84 
109 
     | 
    
         
             
                  - run: gem install --local pg-*${{ matrix.platform }}.gem --verbose
         
     | 
| 
       85 
110 
     | 
    
         
             
                  - name: Run specs
         
     | 
| 
       86 
111 
     | 
    
         
             
                    run: ruby -rpg -S rspec -fd spec/**/*_spec.rb
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                  - name: Print logs if job failed
         
     | 
| 
      
 114 
     | 
    
         
            +
                    if: ${{ failure() && matrix.os == 'windows-latest' }}
         
     | 
| 
      
 115 
     | 
    
         
            +
                    run: |
         
     | 
| 
      
 116 
     | 
    
         
            +
                      ridk enable
         
     | 
| 
      
 117 
     | 
    
         
            +
                      find "$(ruby -e"puts RbConfig::CONFIG[%q[libdir]]")" -name mkmf.log -print0 | xargs -0 cat
         
     | 
| 
         @@ -1,23 +1,28 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            name: Source gem
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            on: 
     | 
| 
      
 3 
     | 
    
         
            +
            on:
         
     | 
| 
      
 4 
     | 
    
         
            +
              push:
         
     | 
| 
      
 5 
     | 
    
         
            +
              pull_request:
         
     | 
| 
      
 6 
     | 
    
         
            +
              workflow_dispatch:
         
     | 
| 
      
 7 
     | 
    
         
            +
              schedule:
         
     | 
| 
      
 8 
     | 
    
         
            +
                - cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
         
     | 
| 
       4 
9 
     | 
    
         | 
| 
       5 
10 
     | 
    
         
             
            jobs:
         
     | 
| 
       6 
11 
     | 
    
         
             
              job_build_gem:
         
     | 
| 
       7 
12 
     | 
    
         
             
                name: build
         
     | 
| 
       8 
13 
     | 
    
         
             
                runs-on: ubuntu-latest
         
     | 
| 
       9 
14 
     | 
    
         
             
                steps:
         
     | 
| 
       10 
     | 
    
         
            -
                  - uses: actions/checkout@ 
     | 
| 
      
 15 
     | 
    
         
            +
                  - uses: actions/checkout@v3
         
     | 
| 
       11 
16 
     | 
    
         
             
                  - name: Set up Ruby
         
     | 
| 
       12 
17 
     | 
    
         
             
                    uses: ruby/setup-ruby@v1
         
     | 
| 
       13 
18 
     | 
    
         
             
                    with:
         
     | 
| 
       14 
     | 
    
         
            -
                      ruby-version: "3. 
     | 
| 
      
 19 
     | 
    
         
            +
                      ruby-version: "3.2"
         
     | 
| 
       15 
20 
     | 
    
         | 
| 
       16 
21 
     | 
    
         
             
                  - name: Build source gem
         
     | 
| 
       17 
22 
     | 
    
         
             
                    run: gem build pg.gemspec
         
     | 
| 
       18 
23 
     | 
    
         | 
| 
       19 
24 
     | 
    
         
             
                  - name: Upload source gem
         
     | 
| 
       20 
     | 
    
         
            -
                    uses: actions/upload-artifact@ 
     | 
| 
      
 25 
     | 
    
         
            +
                    uses: actions/upload-artifact@v3
         
     | 
| 
       21 
26 
     | 
    
         
             
                    with:
         
     | 
| 
       22 
27 
     | 
    
         
             
                      name: source-gem
         
     | 
| 
       23 
28 
     | 
    
         
             
                      path: "*.gem"
         
     | 
| 
         @@ -41,9 +46,10 @@ jobs: 
     | 
|
| 
       41 
46 
     | 
    
         
             
                        ruby: "head"
         
     | 
| 
       42 
47 
     | 
    
         
             
                        PGVER: "15"
         
     | 
| 
       43 
48 
     | 
    
         
             
                      - os: ubuntu
         
     | 
| 
       44 
     | 
    
         
            -
                        ruby: "3. 
     | 
| 
      
 49 
     | 
    
         
            +
                        ruby: "3.2"
         
     | 
| 
       45 
50 
     | 
    
         
             
                        PGVER: "12"
         
     | 
| 
       46 
51 
     | 
    
         
             
                      - os: ubuntu
         
     | 
| 
      
 52 
     | 
    
         
            +
                        os_ver: "20.04"
         
     | 
| 
       47 
53 
     | 
    
         
             
                        ruby: "2.5"
         
     | 
| 
       48 
54 
     | 
    
         
             
                        PGVER: "9.3"
         
     | 
| 
       49 
55 
     | 
    
         
             
                      - os: ubuntu
         
     | 
| 
         @@ -57,21 +63,21 @@ jobs: 
     | 
|
| 
       57 
63 
     | 
    
         
             
                        PGVERSION: 15.1-1-osx
         
     | 
| 
       58 
64 
     | 
    
         
             
                        PGVER: "15"
         
     | 
| 
       59 
65 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
                runs-on: ${{ matrix.os }} 
     | 
| 
      
 66 
     | 
    
         
            +
                runs-on: ${{ matrix.os }}-${{ matrix.os_ver || 'latest' }}
         
     | 
| 
       61 
67 
     | 
    
         
             
                env:
         
     | 
| 
       62 
68 
     | 
    
         
             
                  PGVERSION: ${{ matrix.PGVERSION }}
         
     | 
| 
       63 
69 
     | 
    
         
             
                  PGVER: ${{ matrix.PGVER }}
         
     | 
| 
       64 
70 
     | 
    
         
             
                  MAKE: make -j2 V=1
         
     | 
| 
       65 
71 
     | 
    
         | 
| 
       66 
72 
     | 
    
         
             
                steps:
         
     | 
| 
       67 
     | 
    
         
            -
                  - uses: actions/checkout@ 
     | 
| 
      
 73 
     | 
    
         
            +
                  - uses: actions/checkout@v3
         
     | 
| 
       68 
74 
     | 
    
         
             
                  - name: Set up Ruby
         
     | 
| 
       69 
75 
     | 
    
         
             
                    uses: ruby/setup-ruby@v1
         
     | 
| 
       70 
76 
     | 
    
         
             
                    with:
         
     | 
| 
       71 
77 
     | 
    
         
             
                      ruby-version: ${{ matrix.ruby }}
         
     | 
| 
       72 
78 
     | 
    
         | 
| 
       73 
79 
     | 
    
         
             
                  - name: Download gem from build job
         
     | 
| 
       74 
     | 
    
         
            -
                    uses: actions/download-artifact@ 
     | 
| 
      
 80 
     | 
    
         
            +
                    uses: actions/download-artifact@v3
         
     | 
| 
       75 
81 
     | 
    
         
             
                    with:
         
     | 
| 
       76 
82 
     | 
    
         
             
                      name: source-gem
         
     | 
| 
       77 
83 
     | 
    
         | 
| 
         @@ -98,10 +104,10 @@ jobs: 
     | 
|
| 
       98 
104 
     | 
    
         
             
                  - name: Download PostgreSQL Ubuntu
         
     | 
| 
       99 
105 
     | 
    
         
             
                    if: matrix.os == 'ubuntu'
         
     | 
| 
       100 
106 
     | 
    
         
             
                    run: |
         
     | 
| 
       101 
     | 
    
         
            -
                      echo "deb http://apt.postgresql.org/pub/repos/apt/  
     | 
| 
      
 107 
     | 
    
         
            +
                      echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main $PGVER" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
         
     | 
| 
       102 
108 
     | 
    
         
             
                      wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
         
     | 
| 
       103 
     | 
    
         
            -
                      sudo apt -y update
         
     | 
| 
       104 
     | 
    
         
            -
                      sudo apt -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
         
     | 
| 
      
 109 
     | 
    
         
            +
                      sudo apt-get -y update
         
     | 
| 
      
 110 
     | 
    
         
            +
                      sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
         
     | 
| 
       105 
111 
     | 
    
         
             
                      echo /usr/lib/postgresql/$PGVER/bin >> $GITHUB_PATH
         
     | 
| 
       106 
112 
     | 
    
         | 
| 
       107 
113 
     | 
    
         
             
                  - name: Download PostgreSQL Macos
         
     | 
| 
         @@ -112,7 +118,7 @@ jobs: 
     | 
|
| 
       112 
118 
     | 
    
         
             
                      sudo unzip postgresql-$PGVERSION-binaries.zip -d /Library/PostgreSQL/$PGVER && \
         
     | 
| 
       113 
119 
     | 
    
         
             
                      echo /Library/PostgreSQL/$PGVER/bin >> $GITHUB_PATH
         
     | 
| 
       114 
120 
     | 
    
         | 
| 
       115 
     | 
    
         
            -
                  - run: gem update --system
         
     | 
| 
      
 121 
     | 
    
         
            +
                  - run: gem update --system 3.3.26
         
     | 
| 
       116 
122 
     | 
    
         
             
                  - run: bundle install
         
     | 
| 
       117 
123 
     | 
    
         | 
| 
       118 
124 
     | 
    
         
             
                  - run: gem install --local *.gem --verbose
         
     | 
    
        data/.gitignore
    CHANGED
    
    | 
         @@ -1,13 +1,19 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            *.lock
         
     | 
| 
      
 2 
     | 
    
         
            +
            *.orig
         
     | 
| 
      
 3 
     | 
    
         
            +
            *_BACKUP_*
         
     | 
| 
      
 4 
     | 
    
         
            +
            *_BASE_*
         
     | 
| 
      
 5 
     | 
    
         
            +
            *_LOCAL_*
         
     | 
| 
      
 6 
     | 
    
         
            +
            *_REMOTE_*
         
     | 
| 
       2 
7 
     | 
    
         
             
            /.test_symlink
         
     | 
| 
       3 
8 
     | 
    
         
             
            /build/
         
     | 
| 
       4 
9 
     | 
    
         
             
            /doc/
         
     | 
| 
       5 
10 
     | 
    
         
             
            /lib/*.bundle
         
     | 
| 
       6 
11 
     | 
    
         
             
            /lib/*.so
         
     | 
| 
       7 
     | 
    
         
            -
            /lib/2 
     | 
| 
      
 12 
     | 
    
         
            +
            /lib/2.?/
         
     | 
| 
      
 13 
     | 
    
         
            +
            /lib/3.?/
         
     | 
| 
       8 
14 
     | 
    
         
             
            /pkg/
         
     | 
| 
       9 
15 
     | 
    
         
             
            /tmp/
         
     | 
| 
       10 
     | 
    
         
            -
            / 
     | 
| 
      
 16 
     | 
    
         
            +
            /tmp_test_*/
         
     | 
| 
       11 
17 
     | 
    
         
             
            /vendor/
         
     | 
| 
       12 
18 
     | 
    
         
             
            /lib/libpq.dll
         
     | 
| 
       13 
19 
     | 
    
         
             
            /lib/pg/postgresql_lib_path.rb
         
     | 
    
        data/.travis.yml
    CHANGED
    
    | 
         @@ -38,8 +38,8 @@ before_install: 
     | 
|
| 
       38 
38 
     | 
    
         
             
              # Download and install postgresql version to test against in /opt (for non-cross compile only)
         
     | 
| 
       39 
39 
     | 
    
         
             
              - echo "deb http://apt.postgresql.org/pub/repos/apt/ ${TRAVIS_DIST}-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
         
     | 
| 
       40 
40 
     | 
    
         
             
              - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
         
     | 
| 
       41 
     | 
    
         
            -
              - sudo apt -y update
         
     | 
| 
       42 
     | 
    
         
            -
              - sudo apt -y --allow-downgrades install postgresql-$PGVERSION libpq5=$PGVERSION* libpq-dev=$PGVERSION*
         
     | 
| 
      
 41 
     | 
    
         
            +
              - sudo apt-get -y update
         
     | 
| 
      
 42 
     | 
    
         
            +
              - sudo apt-get -y --allow-downgrades install postgresql-$PGVERSION libpq5=$PGVERSION* libpq-dev=$PGVERSION*
         
     | 
| 
       43 
43 
     | 
    
         
             
              - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
            script:
         
     |