pg 1.0.0 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.appveyor.yml +42 -0
  4. data/.gems +6 -0
  5. data/.github/workflows/binary-gems.yml +117 -0
  6. data/.github/workflows/source-gem.yml +141 -0
  7. data/.gitignore +22 -0
  8. data/.hgsigs +34 -0
  9. data/.hgtags +41 -0
  10. data/.irbrc +23 -0
  11. data/.pryrc +23 -0
  12. data/.tm_properties +21 -0
  13. data/.travis.yml +49 -0
  14. data/Gemfile +14 -0
  15. data/History.md +884 -0
  16. data/Manifest.txt +8 -3
  17. data/README-Windows.rdoc +4 -4
  18. data/README.ja.md +300 -0
  19. data/README.md +286 -0
  20. data/Rakefile +38 -138
  21. data/Rakefile.cross +63 -63
  22. data/certs/ged.pem +24 -0
  23. data/certs/larskanis-2022.pem +26 -0
  24. data/certs/larskanis-2023.pem +24 -0
  25. data/ext/errorcodes.def +80 -0
  26. data/ext/errorcodes.rb +1 -1
  27. data/ext/errorcodes.txt +22 -2
  28. data/ext/extconf.rb +106 -25
  29. data/ext/gvl_wrappers.c +4 -0
  30. data/ext/gvl_wrappers.h +23 -0
  31. data/ext/pg.c +213 -155
  32. data/ext/pg.h +89 -23
  33. data/ext/pg_binary_decoder.c +162 -16
  34. data/ext/pg_binary_encoder.c +238 -13
  35. data/ext/pg_coder.c +159 -35
  36. data/ext/pg_connection.c +1557 -972
  37. data/ext/pg_copy_coder.c +364 -38
  38. data/ext/pg_errors.c +1 -1
  39. data/ext/pg_record_coder.c +522 -0
  40. data/ext/pg_result.c +708 -215
  41. data/ext/pg_text_decoder.c +627 -43
  42. data/ext/pg_text_encoder.c +206 -62
  43. data/ext/pg_tuple.c +572 -0
  44. data/ext/pg_type_map.c +45 -11
  45. data/ext/pg_type_map_all_strings.c +21 -7
  46. data/ext/pg_type_map_by_class.c +59 -27
  47. data/ext/pg_type_map_by_column.c +80 -37
  48. data/ext/pg_type_map_by_mri_type.c +49 -20
  49. data/ext/pg_type_map_by_oid.c +62 -29
  50. data/ext/pg_type_map_in_ruby.c +56 -22
  51. data/ext/{util.c → pg_util.c} +12 -12
  52. data/ext/{util.h → pg_util.h} +2 -2
  53. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  54. data/lib/pg/basic_type_map_for_queries.rb +198 -0
  55. data/lib/pg/basic_type_map_for_results.rb +104 -0
  56. data/lib/pg/basic_type_registry.rb +299 -0
  57. data/lib/pg/binary_decoder/date.rb +9 -0
  58. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  59. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  60. data/lib/pg/coder.rb +36 -13
  61. data/lib/pg/connection.rb +749 -70
  62. data/lib/pg/exceptions.rb +16 -2
  63. data/lib/pg/result.rb +14 -2
  64. data/lib/pg/text_decoder/date.rb +18 -0
  65. data/lib/pg/text_decoder/inet.rb +9 -0
  66. data/lib/pg/text_decoder/json.rb +14 -0
  67. data/lib/pg/text_decoder/numeric.rb +9 -0
  68. data/lib/pg/text_decoder/timestamp.rb +30 -0
  69. data/lib/pg/text_encoder/date.rb +12 -0
  70. data/lib/pg/text_encoder/inet.rb +28 -0
  71. data/lib/pg/text_encoder/json.rb +14 -0
  72. data/lib/pg/text_encoder/numeric.rb +9 -0
  73. data/lib/pg/text_encoder/timestamp.rb +24 -0
  74. data/lib/pg/tuple.rb +30 -0
  75. data/lib/pg/type_map_by_column.rb +3 -2
  76. data/lib/pg/version.rb +4 -0
  77. data/lib/pg.rb +96 -39
  78. data/misc/openssl-pg-segfault.rb +31 -0
  79. data/misc/postgres/History.txt +9 -0
  80. data/misc/postgres/Manifest.txt +5 -0
  81. data/misc/postgres/README.txt +21 -0
  82. data/misc/postgres/Rakefile +21 -0
  83. data/misc/postgres/lib/postgres.rb +16 -0
  84. data/misc/ruby-pg/History.txt +9 -0
  85. data/misc/ruby-pg/Manifest.txt +5 -0
  86. data/misc/ruby-pg/README.txt +21 -0
  87. data/misc/ruby-pg/Rakefile +21 -0
  88. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  89. data/pg.gemspec +34 -0
  90. data/rakelib/task_extension.rb +46 -0
  91. data/sample/array_insert.rb +20 -0
  92. data/sample/async_api.rb +102 -0
  93. data/sample/async_copyto.rb +39 -0
  94. data/sample/async_mixed.rb +56 -0
  95. data/sample/check_conn.rb +21 -0
  96. data/sample/copydata.rb +71 -0
  97. data/sample/copyfrom.rb +81 -0
  98. data/sample/copyto.rb +19 -0
  99. data/sample/cursor.rb +21 -0
  100. data/sample/disk_usage_report.rb +177 -0
  101. data/sample/issue-119.rb +94 -0
  102. data/sample/losample.rb +69 -0
  103. data/sample/minimal-testcase.rb +17 -0
  104. data/sample/notify_wait.rb +72 -0
  105. data/sample/pg_statistics.rb +285 -0
  106. data/sample/replication_monitor.rb +222 -0
  107. data/sample/test_binary_values.rb +33 -0
  108. data/sample/wal_shipper.rb +434 -0
  109. data/sample/warehouse_partitions.rb +311 -0
  110. data/translation/.po4a-version +7 -0
  111. data/translation/po/all.pot +936 -0
  112. data/translation/po/ja.po +1036 -0
  113. data/translation/po4a.cfg +12 -0
  114. data.tar.gz.sig +0 -0
  115. metadata +147 -219
  116. metadata.gz.sig +0 -0
  117. data/ChangeLog +0 -6595
  118. data/History.rdoc +0 -422
  119. data/README.ja.rdoc +0 -14
  120. data/README.rdoc +0 -167
  121. data/lib/pg/basic_type_mapping.rb +0 -426
  122. data/lib/pg/constants.rb +0 -11
  123. data/lib/pg/text_decoder.rb +0 -51
  124. data/lib/pg/text_encoder.rb +0 -35
  125. data/spec/data/expected_trace.out +0 -26
  126. data/spec/data/random_binary_data +0 -0
  127. data/spec/helpers.rb +0 -348
  128. data/spec/pg/basic_type_mapping_spec.rb +0 -305
  129. data/spec/pg/connection_spec.rb +0 -1719
  130. data/spec/pg/result_spec.rb +0 -456
  131. data/spec/pg/type_map_by_class_spec.rb +0 -138
  132. data/spec/pg/type_map_by_column_spec.rb +0 -222
  133. data/spec/pg/type_map_by_mri_type_spec.rb +0 -136
  134. data/spec/pg/type_map_by_oid_spec.rb +0 -149
  135. data/spec/pg/type_map_in_ruby_spec.rb +0 -164
  136. data/spec/pg/type_map_spec.rb +0 -22
  137. data/spec/pg/type_spec.rb +0 -777
  138. data/spec/pg_spec.rb +0 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00baf07c6fd4d371d287ca8209c0db01b5de5477b62dd00e07c34b4000be3b20
4
- data.tar.gz: 629daf0e7785a7cc67fdf41852462cb3e02946399b6bfb78dc63e889c28e2a72
3
+ metadata.gz: e50a6829d4fe134af52d85429a3db06240fb6d228b96ef5b3fade98d38f4d199
4
+ data.tar.gz: 281f5700e856a64a4a7c3157bbef4398345ac16698dbcdce54ed0408c0448457
5
5
  SHA512:
6
- metadata.gz: 608978950994657749109e344e33b83704a26c367bb551d8d2095b335e1a5102426e7d212a2213c19439d5fa3e6087d8fddd7401102e1e7f2ec3cf2fd32627ec
7
- data.tar.gz: 863a7b7a83d245ab52a774769e295edb57a77e2811fb5bfda2c3fd067242696294d1b0d08216ef3dd9ad5e27ed539cad7ec2096d047c18dc949d4107a957b5e1
6
+ metadata.gz: 4ca887b068f003b077c17fca5e8297368f5236ed74ae16888a64312fed269110c455e2cd58105b5a23fbb53a1841b081ae215d3a4c3473815914642fcdde75cc
7
+ data.tar.gz: 86599add8d622097727be30a1a05259c69d8c83fa73e1dad0f46125e95685a752a5df24f235158ff0d62dbfe99034aa8512e89bc39f26edf81a2540c466a6541
checksums.yaml.gz.sig CHANGED
Binary file
data/.appveyor.yml ADDED
@@ -0,0 +1,42 @@
1
+ image: Visual Studio 2022
2
+
3
+ init:
4
+ - set PATH=C:/Ruby%ruby_version%/bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files/Mercurial
5
+ - set RUBYOPT=--verbose
6
+ install:
7
+ - ps: |
8
+ if ($env:RUBYDOWNLOAD -ne $null) {
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 /currentuser /verysilent /dir=C:/Ruby$env:ruby_version
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"
15
+ - ruby --version
16
+ - gem --version
17
+ - gem install bundler --conservative
18
+ - bundle install
19
+ - ps: |
20
+ if ($env:PGVERSION -ne $null)
21
+ {
22
+ $(new-object net.webclient).DownloadFile('http://get.enterprisedb.com/postgresql/postgresql-' + $env:PGVERSION + '.exe', 'C:/postgresql-setup.exe')
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"
29
+ }
30
+ - echo %PATH%
31
+ - pg_config
32
+ build_script:
33
+ - bundle exec rake -rdevkit compile --trace
34
+ test_script:
35
+ - bundle exec rake test PG_DEBUG=0
36
+ on_failure:
37
+ - find -name mkmf.log | xargs cat
38
+ environment:
39
+ matrix:
40
+ - ruby_version: "head"
41
+ RUBYDOWNLOAD: x86
42
+ - ruby_version: "30-x64"
data/.gems ADDED
@@ -0,0 +1,6 @@
1
+ # .gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
2
+ rake-compiler -v1.1.0
3
+ rake-compiler-dock -v1.0.0
4
+ hoe-deveiate -v0.10.0
5
+ hoe-bundler -v1.3.0
6
+
@@ -0,0 +1,117 @@
1
+ name: Binary gems
2
+
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
9
+
10
+ jobs:
11
+ job_build_x64:
12
+ name: build
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ include:
18
+ - platform: "x64-mingw-ucrt"
19
+ - platform: "x64-mingw32"
20
+ - platform: "x86-mingw32"
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Ruby
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: "3.2"
27
+ - run: bundle install
28
+
29
+ - name: Create a dummy cert to satisfy the build
30
+ run: |
31
+ mkdir -p ~/.gem/
32
+ ruby -ropenssl -e "puts OpenSSL::PKey::RSA.new(2048).to_pem" > ~/.gem/gem-private_key.pem
33
+ gem cert --build travis-ci@dummy.org --private-key ~/.gem/gem-private_key.pem
34
+ cp gem-public_cert.pem ~/.gem/gem-public_cert.pem
35
+
36
+ - name: Build binary gem
37
+ run: bundle exec rake gem:windows:${{ matrix.platform }}
38
+
39
+ - name: Upload binary gem
40
+ uses: actions/upload-artifact@v3
41
+ with:
42
+ name: binary-gem
43
+ path: pkg/*.gem
44
+
45
+ job_test_binary:
46
+ name: Test on Windows
47
+ needs: job_build_x64
48
+ strategy:
49
+ fail-fast: false
50
+ matrix:
51
+ include:
52
+ - os: windows-latest
53
+ ruby: "3.2"
54
+ platform: "x64-mingw-ucrt"
55
+ PGVERSION: 15.1-1-windows-x64
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"
62
+ platform: "x64-mingw32"
63
+ PGVERSION: 10.20-1-windows
64
+
65
+ runs-on: ${{ matrix.os }}
66
+ env:
67
+ PGVERSION: ${{ matrix.PGVERSION }}
68
+ steps:
69
+ - uses: actions/checkout@v3
70
+ - name: Set up Ruby
71
+ if: matrix.platform != 'x86-mingw32'
72
+ uses: ruby/setup-ruby@v1
73
+ with:
74
+ ruby-version: ${{ matrix.ruby }}
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
+
87
+ - name: Download gem from build job
88
+ uses: actions/download-artifact@v3
89
+ with:
90
+ name: binary-gem
91
+
92
+ - name: Download PostgreSQL
93
+ run: |
94
+ Add-Type -AssemblyName System.IO.Compression.FileSystem
95
+ function Unzip {
96
+ param([string]$zipfile, [string]$outpath)
97
+ [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
98
+ }
99
+
100
+ $(new-object net.webclient).DownloadFile("http://get.enterprisedb.com/postgresql/postgresql-$env:PGVERSION-binaries.zip", "postgresql-binaries.zip")
101
+ Unzip "postgresql-binaries.zip" "."
102
+ echo "$pwd/pgsql/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
103
+ echo "PGUSER=$env:USERNAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
104
+ echo "PGPASSWORD=" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
105
+
106
+ - run: echo $env:PATH
107
+ - run: gem update --system 3.3.26
108
+ - run: bundle install
109
+ - run: gem install --local pg-*${{ matrix.platform }}.gem --verbose
110
+ - name: Run specs
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
@@ -0,0 +1,141 @@
1
+ name: Source gem
2
+
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
9
+
10
+ jobs:
11
+ job_build_gem:
12
+ name: build
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: "3.2"
20
+
21
+ - name: Build source gem
22
+ run: gem build pg.gemspec
23
+
24
+ - name: Upload source gem
25
+ uses: actions/upload-artifact@v3
26
+ with:
27
+ name: source-gem
28
+ path: "*.gem"
29
+
30
+ job_test_gem:
31
+ name: Test built gem
32
+ needs: job_build_gem
33
+ strategy:
34
+ fail-fast: false
35
+ matrix:
36
+ include:
37
+ - os: windows
38
+ ruby: "head"
39
+ PGVERSION: 15.1-1-windows-x64
40
+ PGVER: "15"
41
+ - os: windows
42
+ ruby: "2.5"
43
+ PGVERSION: 9.4.26-1-windows-x64
44
+ PGVER: "9.4"
45
+ - os: windows
46
+ ruby: "mswin"
47
+ PGVERSION: 15.1-1-windows-x64
48
+ PGVER: "15"
49
+ - os: ubuntu
50
+ ruby: "head"
51
+ PGVER: "15"
52
+ - os: ubuntu
53
+ ruby: "3.2"
54
+ PGVER: "12"
55
+ - os: ubuntu
56
+ os_ver: "20.04"
57
+ ruby: "2.5"
58
+ PGVER: "9.3"
59
+ - os: ubuntu
60
+ ruby: "truffleruby"
61
+ PGVER: "13"
62
+ - os: ubuntu
63
+ ruby: "truffleruby-head"
64
+ PGVER: "15"
65
+ - os: macos
66
+ ruby: "head"
67
+ PGVERSION: 15.1-1-osx
68
+ PGVER: "15"
69
+
70
+ runs-on: ${{ matrix.os }}-${{ matrix.os_ver || 'latest' }}
71
+ env:
72
+ PGVERSION: ${{ matrix.PGVERSION }}
73
+ PGVER: ${{ matrix.PGVER }}
74
+ MAKE: make -j2 V=1
75
+
76
+ steps:
77
+ - uses: actions/checkout@v3
78
+ - name: Set up Ruby
79
+ uses: ruby/setup-ruby@v1
80
+ with:
81
+ ruby-version: ${{ matrix.ruby }}
82
+
83
+ - name: Download gem from build job
84
+ uses: actions/download-artifact@v3
85
+ with:
86
+ name: source-gem
87
+
88
+ - name: Install required packages Windows
89
+ if: matrix.os == 'windows' && matrix.ruby != 'mswin'
90
+ shell: cmd
91
+ run: ridk exec sh -c "pacman --sync --needed --noconfirm ${MINGW_PACKAGE_PREFIX}-gcc"
92
+
93
+ - name: Download PostgreSQL Windows
94
+ if: matrix.os == 'windows'
95
+ run: |
96
+ Add-Type -AssemblyName System.IO.Compression.FileSystem
97
+ function Unzip {
98
+ param([string]$zipfile, [string]$outpath)
99
+ [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
100
+ }
101
+
102
+ $(new-object net.webclient).DownloadFile("http://get.enterprisedb.com/postgresql/postgresql-$env:PGVERSION-binaries.zip", "postgresql-binaries.zip")
103
+ Unzip "postgresql-binaries.zip" "."
104
+ echo "$pwd/pgsql/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
105
+ echo "PGUSER=$env:USERNAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
106
+ echo "PGPASSWORD=" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
107
+
108
+ - name: Download PostgreSQL Ubuntu
109
+ if: matrix.os == 'ubuntu'
110
+ run: |
111
+ 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
112
+ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
113
+ sudo apt-get -y update
114
+ sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
115
+ echo /usr/lib/postgresql/$PGVER/bin >> $GITHUB_PATH
116
+
117
+ - name: Download PostgreSQL Macos
118
+ if: matrix.os == 'macos'
119
+ run: |
120
+ wget https://get.enterprisedb.com/postgresql/postgresql-$PGVERSION-binaries.zip && \
121
+ sudo mkdir -p /Library/PostgreSQL && \
122
+ sudo unzip postgresql-$PGVERSION-binaries.zip -d /Library/PostgreSQL/$PGVER && \
123
+ echo /Library/PostgreSQL/$PGVER/bin >> $GITHUB_PATH
124
+
125
+ - run: gem update --system 3.3.26
126
+ - run: bundle install
127
+
128
+ - run: gem install --local *.gem --verbose
129
+
130
+ - name: Run specs
131
+ env:
132
+ PG_DEBUG: 0
133
+ run: ruby -rpg -S rspec spec/**/*_spec.rb -cfdoc
134
+
135
+ - name: Print logs if job failed
136
+ if: ${{ failure() && matrix.os == 'windows' }}
137
+ run: ridk exec cat tmp_test_specs/*.log
138
+
139
+ - name: Print logs if job failed
140
+ if: ${{ failure() && matrix.os != 'windows' }}
141
+ run: cat tmp_test_specs/*.log
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.lock
2
+ *.orig
3
+ *_BACKUP_*
4
+ *_BASE_*
5
+ *_LOCAL_*
6
+ *_REMOTE_*
7
+ /.test_symlink
8
+ /build/
9
+ /ext/Makefile
10
+ /ext/mkmf.log
11
+ /ext/postgresql_lib_path.rb
12
+ /doc/
13
+ /lib/*.bundle
14
+ /lib/*.so
15
+ /lib/2.?/
16
+ /lib/3.?/
17
+ /pkg/
18
+ /tmp/
19
+ /tmp_test_*/
20
+ /vendor/
21
+ /lib/libpq.dll
22
+ /lib/pg/postgresql_lib_path.rb
data/.hgsigs ADDED
@@ -0,0 +1,34 @@
1
+ 872063e42b129af10539f73b3c083ad8a031f961 0 iEYEABECAAYFAkuKoCoACgkQ+zlz4UKpE6QzewCgrFcSsAwju/KpZ8myuWexlcSbe04AmwWCbf4HM95tDXdFvsvzeegPg8AS
2
+ 3993015a841e43c9cd9d1321819cbf5e74264f1d 0 iEYEABECAAYFAkz2ycMACgkQ+zlz4UKpE6SYjQCgi/1Ik2rntK2dU93Hb91wYh0Yv4sAoKxEXVuXaEIAiwB4vSQ/7JQGIBzM
3
+ 230ea3e68db2360548097542c4856dec4c3cd97a 0 iEYEABECAAYFAk03CpAACgkQ+zlz4UKpE6SPAgCfbRwKmAgHTmrudSoC09c37Tuyff0AnRHrSaqKhiCO7KlX5UJq6x0ttoKH
4
+ 24aa7899c6966ce349c8e4f2a87b17c3e943ff56 0 iEYEABECAAYFAk2s1wQACgkQ+zlz4UKpE6SkLQCdHOS5yxoUFguEo885HkDyOZg4Y7wAoMVofhwOUHVQ6djXr0hgAmahI1lW
5
+ 19b551f972e27dcfa281b92914e2a98661243206 0 iEYEABECAAYFAk7f51sACgkQ+zlz4UKpE6RkYACg0WZjt1crbi72DQYs3kYKSYRflNYAnA80+VVwmMUQiWuFuQ+7gbiUPCyY
6
+ f72b14d349bf385c769aacfddbea7a0e60ff5e9e 0 iEYEABECAAYFAk8CFCIACgkQ+zlz4UKpE6QbYACgyLQwHPQH50sGVgzTD3y13XKwi38AoIrF5zSOiMXAeL+sk++iwDYV4ddW
7
+ f3dfdb6929b70ddd3bb952757bdfb199e6916245 0 iEYEABECAAYFAk8Di+MACgkQ+zlz4UKpE6TVvwCg+ibuW22lRdnOIrRF2V4am7b4YxYAn0bDEnP93JX6qKAaU8kcoCrTKDXp
8
+ b67309d3ccf2f9de56535e01f58c7af994426827 0 iEYEABECAAYFAk8iJKkACgkQ+zlz4UKpE6SjUQCgpItY5hW5NyVkfL5+nkRhJqaetQMAoJQQkNPL2jQLgJREfj3PtMBbn2VG
9
+ 0e7f0c2451e55855b4a90efce8db0cafbf04b26f 0 iEYEABECAAYFAk8kb0cACgkQ+zlz4UKpE6RpxgCfQDV3zq2N+zle1XLKoXGMr7EK19IAnR3llz7WPf2j9lqXdZjw4xtl0XBk
10
+ 9c262b875047f9acfedb63396a262ab5a5b101ca 0 iEYEABECAAYFAk80EvkACgkQ+zlz4UKpE6SUHQCeJuJMb8+k8ynIDPSmcKHL/a5gD6AAoPXMns9HF2c3XwtS1CMRf6rcZp3e
11
+ 1ba641824000abbf1b22000772815c24e9b5f6d9 0 iEYEABECAAYFAk84LSUACgkQ+zlz4UKpE6RlPQCgiGZbYJFbeWEAdehVUrIZdU7sRe4AoOgESbvEWynP4X0OKbvdC9rLchYl
12
+ 41e071bdd6ed970887d4ed4da59fdfa62003c39e 0 iEYEABECAAYFAk9FXikACgkQ+zlz4UKpE6TB8ACgt/VSo/kJMg9UVLKd5UUPBPjbgOIAn0DJuOla9GF85mW74sEkCOqE6Ada
13
+ a45710f8db303c400200017242589562936fcf1b 0 iEYEABECAAYFAk/l/kgACgkQ+zlz4UKpE6QCkwCg049BpW4kSvaKuICyvKokeoXbNiAAoPWAaiDuK6xjZhqGSuuGVWMmCRwk
14
+ 52d22b060501ab90a89b3a758aca8ce70ad05231 0 iEYEABECAAYFAlBDfn8ACgkQ+zlz4UKpE6R3GACgzLiZ+fyM4Hx8/Qp9fyWF+mHk4FQAn3P3Y06AHadVvKwyksrAgKk/33LV
15
+ 384fcbc92366ca0108b6c0984d861ffef2d38570 0 iEYEABECAAYFAlFRsM4ACgkQ+zlz4UKpE6TYXgCgksacYvWJ5dhx9oYFRR+oSH6wPgwAoJ3QO01zfiDbBz6Z9Mxy7tNi3jx6
16
+ 0bfb6ff650be2d003af3d0fc6c75be16369605e1 0 iEYEABECAAYFAlFjCYkACgkQ+zlz4UKpE6RldACg77Rp2I4vYUXpFakUrYq6uSfPLLQAn266JL6CiQG44cSroW+Mgz4CZgJn
17
+ 4e0606f5f5aab87855860a3eeaf4c9eaaea77f09 0 iEYEABECAAYFAlHuizwACgkQ+zlz4UKpE6QphACg4FNFwvVju9wk6PC6vwkY8cZRtvkAn1nDR0pbto9xMdMUqhJxOc5Dqisr
18
+ eed93df350a6cc657d5151bd3aa29ab427fba7cc 0 iEYEABECAAYFAlI3Sy4ACgkQ+zlz4UKpE6ShLQCffDunkSEo5TCnzCx8PjVF9jetDxYAn02ZCfDJ2UPgojF+gjhHCGk9haFq
19
+ 22d57e3a2b378a34675982a77e6daa643f38fa6e 0 iEYEABECAAYFAlKyO9QACgkQ+zlz4UKpE6QO/wCfWabZRMDkk/vNME1LK1cHCp4oOtMAoORYSAU8OTOxjhPW3IGDMFShHKHv
20
+ c519766e3ec9a60b1960dcb008f01434f98a17b2 0 iEYEABECAAYFAlSoTtUACgkQ+zlz4UKpE6TIoQCg2nBKrFlaMtD1P4H1KuDxQJBsDkQAniIdmVBVhWvBU+pUfMHhPRBY+puR
21
+ ba5aff64b5cbe818ddabaac924d0bee6ab27f1b0 0 iEYEABECAAYFAlSq+v4ACgkQ+zlz4UKpE6SfvwCg8cL68fxxt7k/yzTV7hLNyOovci0AnAoPXmKEYaoyWehwMUpxOitaVRwf
22
+ 7d31b04e79134d276c1e8a3a64ee35b7002da1ef 0 iQIcBAABAgAGBQJVVO4yAAoJEGE7GvLhImG9r6cP/jMU8jKHKbFiyRLCz/IXw72bnORdGiOwZzIjFyRSpXnrZ9dkIF8Hjllv27XW2jiQ2eg+N+MQmchO3VAqNEgad782535p01LY2hmP8s6LAKM7GFCTi6yCVcavcGUS8GDwK1df1nLK0Sfi3TrRsaduhizd0BI0MPuVt2qjDE+8AA0/6DkIkPsohUbvpJXMMl8BiuZBM3I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+lqPYBT2rxc3+9JtW77bG7tQOllKjnfAiQ0BK1fMBZRVDzN4QU8jifyDwUQvjB4tZMvGzXWxRW3TmTKOdqp+s6hJnBma9lAwUerGa5wtk1xZhO1udJYsk7PMt590bxgUl+1PjKJ6AG1Sj5MhgMct9euex4=
data/.hgtags ADDED
@@ -0,0 +1,41 @@
1
+ 7fbe4187e9e53e58baf6cd7c1c21e3a3c5b920e5 0.8.0
2
+ da726282493c57b4ef8e5be1a21e98cc028fda4c 0.9.0
3
+ 1822a169c4fecac402335a64a484b5dc053994a3 0.10.0
4
+ 1822a169c4fecac402335a64a484b5dc053994a3 v0.10.0
5
+ 1822a169c4fecac402335a64a484b5dc053994a3 0.10.0
6
+ 0000000000000000000000000000000000000000 0.10.0
7
+ de10b5d8e4429d22790976ec4de89f209e882906 v0.10.1
8
+ 3cb8e57c6c80737c714dd7607a144ef12074c4fe v0.11.0
9
+ da726282493c57b4ef8e5be1a21e98cc028fda4c v0.9.0
10
+ 7fbe4187e9e53e58baf6cd7c1c21e3a3c5b920e5 v0.8.0
11
+ b767401684d8a4051230874b0686a54537b10e2f v0.12.0
12
+ 21f84883e5c206a3f2890905af68e08a0046ba1c v0.12.1
13
+ 88bd78632f86f696dd3fa8904c1d3180216378cc v0.12.2
14
+ 7b2da7e0815cce834cd60f9747209923952876ec v0.13.0
15
+ 9e60b2c477cde450a088161ca8f3d72b52531aaf v0.13.1
16
+ c79cd308363d614f7ba32fd86294c9aa3117c361 v0.13.2
17
+ 634e0a42a1010fc1dcd279fb28506873a47090c1 v0.14.0
18
+ 2d83ce956f971c3aeb145c9ad68f426e78b852dd v0.14.1
19
+ 065fd1f0e9dda58557de0efb2deb138e93ba7632 v0.15.0
20
+ 4692c20bcbdeadd8a31283e234464c6e1c43765d v0.15.1
21
+ def8f41a76726cf7239ff6dbaa2828a881f93451 v0.16.0
22
+ 30da9c169efc3985ad0464936483c229faba0e33 v0.17.0
23
+ 78846e47d87b7ed5bb7397116070692b1cfa87d7 v0.17.1
24
+ cfb2bfc0f66181e67768c4313bcce473292a0825 v0.18.0
25
+ f97dd6cb4f34da6a62c4339887249115c7c25b9c v0.18.1
26
+ 22a361201fd1d387d59a066b179124694a446f38 v0.18.2
27
+ 01c42c68797e724507b76056b98981cb30748a36 v0.18.3
28
+ 94ef4830540d8fa74b8912118fb8065f4a6a3563 v0.18.4
29
+ 94ef4830540d8fa74b8912118fb8065f4a6a3563 v0.18.4
30
+ 0000000000000000000000000000000000000000 v0.18.4
31
+ 0000000000000000000000000000000000000000 v0.18.4
32
+ f61127650cd00a1154c591dcde85ebac01f2be9f v0.18.4
33
+ bd2aaa2c5797de78435977a1c60e450d6f22811b v0.19.0
34
+ e5eb92cca97abc0c6fc168acfad993c2ad314589 v0.20.0
35
+ deae742eacfa985bd20f47a12a8fee6ce2e0447c v0.21.0
36
+ 9a388d1023ec145cb00e6e16f3a8cabd3cc81d16 v1.0.0
37
+ 319c00d9d59e24ce06493715cff2701e3a2a8990 v1.1.0
38
+ c80083c5e395451d612d43323c40317eb63bcb54 v1.1.1
39
+ f54d10c5d98fd06d6fc70896107319901ae374ae v1.1.2
40
+ c7035371f972982c1716daf61861b9dde15de03e v1.1.3
41
+ 11d3487e303cf0fc6af48086f3e9c0b1c8283039 v1.1.4
data/.irbrc ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/ruby -*- ruby -*-
2
+
3
+ BEGIN {
4
+ require 'pathname'
5
+ require 'rbconfig'
6
+
7
+ basedir = Pathname.new( __FILE__ ).dirname.expand_path
8
+ libdir = basedir + "lib"
9
+
10
+ puts ">>> Adding #{libdir} to load path..."
11
+ $LOAD_PATH.unshift( libdir.to_s )
12
+ }
13
+
14
+
15
+ # Try to require the 'pg' library
16
+ begin
17
+ $stderr.puts "Loading pg..."
18
+ require 'pg'
19
+ rescue => e
20
+ $stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" +
21
+ e.backtrace.join( "\n\t" )
22
+ end
23
+
data/.pryrc ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/ruby -*- ruby -*-
2
+
3
+ BEGIN {
4
+ require 'pathname'
5
+ require 'rbconfig'
6
+
7
+ basedir = Pathname.new( __FILE__ ).dirname.expand_path
8
+ libdir = basedir + "lib"
9
+
10
+ puts ">>> Adding #{libdir} to load path..."
11
+ $LOAD_PATH.unshift( libdir.to_s )
12
+ }
13
+
14
+
15
+ # Try to require the 'pg' library
16
+ begin
17
+ $stderr.puts "Loading pg..."
18
+ require 'pg'
19
+ rescue => e
20
+ $stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" +
21
+ e.backtrace.join( "\n\t" )
22
+ end
23
+
data/.tm_properties ADDED
@@ -0,0 +1,21 @@
1
+ # Settings
2
+ projectDirectory = "$CWD"
3
+ windowTitle = "${CWD/^.*\///} «$TM_DISPLAYNAME»"
4
+ excludeInFileChooser = {$exclude,.hg}
5
+ exclude = {$exclude,tmp,tmp_test_specs}
6
+
7
+ TM_MAKE = 'rake'
8
+ TM_MAKE_FILE = '${projectDirectory}/Rakefile'
9
+
10
+ [ source ]
11
+ softTabs = false
12
+ tabSize = 4
13
+
14
+ [ source.ruby ]
15
+ softTabs = false
16
+ tabSize = 4
17
+
18
+ [ source.ruby.rspec ]
19
+ softTabs = false
20
+ tabSize = 4
21
+
data/.travis.yml ADDED
@@ -0,0 +1,49 @@
1
+ sudo: required
2
+ dist: focal
3
+ services:
4
+ - docker
5
+ language: ruby
6
+ matrix:
7
+ include:
8
+ # i386: Intel 32-bit
9
+ - name: i386
10
+
11
+ language: generic
12
+ env:
13
+ - PGPATH="/usr/lib/postgresql/10/bin"
14
+ before_install: |
15
+ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes &&
16
+ docker build --rm --build-arg PGPATH="${PGPATH}" -t ruby-pg -f spec/env/Dockerfile.i386 .
17
+ script: |
18
+ docker run --rm -t --network=host ruby-pg
19
+
20
+ - rvm: "2.5"
21
+ env:
22
+ - "PGVERSION=9.3"
23
+ # Use Ubuntu-16.04 since postgresql-9.3 depends on openssl-1.0.0, which isn't available in 20.04
24
+ dist: xenial
25
+ - rvm: ruby-head
26
+ env:
27
+ - "PGVERSION=14"
28
+ - rvm: truffleruby
29
+ env:
30
+ - "PGVERSION=14"
31
+
32
+ allow_failures:
33
+ - rvm: ruby-head
34
+ fast_finish: true
35
+
36
+ before_install:
37
+ - bundle install
38
+ # Download and install postgresql version to test against in /opt (for non-cross compile only)
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
+ - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
41
+ - sudo apt-get -y update
42
+ - sudo apt-get -y --allow-downgrades install postgresql-$PGVERSION libpq5=$PGVERSION* libpq-dev=$PGVERSION*
43
+ - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
44
+
45
+ script:
46
+ - bundle exec rake compile test PG_DEBUG=0
47
+
48
+ after_failure:
49
+ - "find tmp -name mkmf.log | xargs cat"
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # -*- ruby -*-
2
+
3
+ # Specify your gem's runtime dependencies in pg.gemspec
4
+ gemspec
5
+
6
+ source "https://rubygems.org/"
7
+
8
+ group :development, :test do
9
+ gem "bundler", ">= 1.16", "< 3.0"
10
+ gem "rake-compiler", "~> 1.0"
11
+ gem "rake-compiler-dock", "~> 1.0"
12
+ gem "rdoc", "~> 6.4"
13
+ gem "rspec", "~> 3.5"
14
+ end