pg 0.18.1 → 1.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +5 -5
  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/BSDL +2 -2
  15. data/Gemfile +17 -0
  16. data/History.md +901 -0
  17. data/Manifest.txt +8 -21
  18. data/README-Windows.rdoc +17 -28
  19. data/README.ja.md +300 -0
  20. data/README.md +286 -0
  21. data/Rakefile +43 -131
  22. data/Rakefile.cross +89 -70
  23. data/certs/ged.pem +24 -0
  24. data/certs/kanis@comcard.de.pem +20 -0
  25. data/certs/larskanis-2022.pem +26 -0
  26. data/certs/larskanis-2023.pem +24 -0
  27. data/certs/larskanis-2024.pem +24 -0
  28. data/ext/errorcodes.def +113 -0
  29. data/ext/errorcodes.rb +1 -1
  30. data/ext/errorcodes.txt +36 -2
  31. data/ext/extconf.rb +128 -55
  32. data/ext/gvl_wrappers.c +8 -0
  33. data/ext/gvl_wrappers.h +44 -33
  34. data/ext/pg.c +228 -202
  35. data/ext/pg.h +108 -99
  36. data/ext/pg_binary_decoder.c +164 -16
  37. data/ext/pg_binary_encoder.c +249 -22
  38. data/ext/pg_coder.c +189 -44
  39. data/ext/pg_connection.c +1889 -1195
  40. data/ext/pg_copy_coder.c +398 -42
  41. data/ext/pg_errors.c +1 -1
  42. data/ext/pg_record_coder.c +522 -0
  43. data/ext/pg_result.c +729 -234
  44. data/ext/pg_text_decoder.c +635 -52
  45. data/ext/pg_text_encoder.c +294 -130
  46. data/ext/pg_tuple.c +572 -0
  47. data/ext/pg_type_map.c +64 -23
  48. data/ext/pg_type_map_all_strings.c +21 -7
  49. data/ext/pg_type_map_by_class.c +59 -27
  50. data/ext/pg_type_map_by_column.c +86 -43
  51. data/ext/pg_type_map_by_mri_type.c +50 -21
  52. data/ext/pg_type_map_by_oid.c +62 -29
  53. data/ext/pg_type_map_in_ruby.c +59 -28
  54. data/ext/{util.c → pg_util.c} +13 -13
  55. data/ext/{util.h → pg_util.h} +3 -3
  56. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  57. data/lib/pg/basic_type_map_for_queries.rb +202 -0
  58. data/lib/pg/basic_type_map_for_results.rb +104 -0
  59. data/lib/pg/basic_type_registry.rb +303 -0
  60. data/lib/pg/binary_decoder/date.rb +9 -0
  61. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  62. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  63. data/lib/pg/coder.rb +36 -13
  64. data/lib/pg/connection.rb +813 -74
  65. data/lib/pg/exceptions.rb +16 -2
  66. data/lib/pg/result.rb +24 -7
  67. data/lib/pg/text_decoder/date.rb +18 -0
  68. data/lib/pg/text_decoder/inet.rb +9 -0
  69. data/lib/pg/text_decoder/json.rb +14 -0
  70. data/lib/pg/text_decoder/numeric.rb +9 -0
  71. data/lib/pg/text_decoder/timestamp.rb +30 -0
  72. data/lib/pg/text_encoder/date.rb +12 -0
  73. data/lib/pg/text_encoder/inet.rb +28 -0
  74. data/lib/pg/text_encoder/json.rb +14 -0
  75. data/lib/pg/text_encoder/numeric.rb +9 -0
  76. data/lib/pg/text_encoder/timestamp.rb +24 -0
  77. data/lib/pg/tuple.rb +30 -0
  78. data/lib/pg/type_map_by_column.rb +3 -2
  79. data/lib/pg/version.rb +4 -0
  80. data/lib/pg.rb +106 -41
  81. data/misc/openssl-pg-segfault.rb +31 -0
  82. data/misc/postgres/History.txt +9 -0
  83. data/misc/postgres/Manifest.txt +5 -0
  84. data/misc/postgres/README.txt +21 -0
  85. data/misc/postgres/Rakefile +21 -0
  86. data/misc/postgres/lib/postgres.rb +16 -0
  87. data/misc/ruby-pg/History.txt +9 -0
  88. data/misc/ruby-pg/Manifest.txt +5 -0
  89. data/misc/ruby-pg/README.txt +21 -0
  90. data/misc/ruby-pg/Rakefile +21 -0
  91. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  92. data/pg.gemspec +34 -0
  93. data/rakelib/task_extension.rb +46 -0
  94. data/sample/array_insert.rb +1 -1
  95. data/sample/async_api.rb +4 -8
  96. data/sample/async_copyto.rb +1 -1
  97. data/sample/async_mixed.rb +1 -1
  98. data/sample/check_conn.rb +1 -1
  99. data/sample/copydata.rb +71 -0
  100. data/sample/copyfrom.rb +1 -1
  101. data/sample/copyto.rb +1 -1
  102. data/sample/cursor.rb +1 -1
  103. data/sample/disk_usage_report.rb +6 -15
  104. data/sample/issue-119.rb +2 -2
  105. data/sample/losample.rb +1 -1
  106. data/sample/minimal-testcase.rb +2 -2
  107. data/sample/notify_wait.rb +1 -1
  108. data/sample/pg_statistics.rb +6 -15
  109. data/sample/replication_monitor.rb +9 -18
  110. data/sample/test_binary_values.rb +1 -1
  111. data/sample/wal_shipper.rb +2 -2
  112. data/sample/warehouse_partitions.rb +8 -17
  113. data.tar.gz.sig +0 -0
  114. metadata +135 -207
  115. metadata.gz.sig +0 -0
  116. data/ChangeLog +0 -5378
  117. data/History.rdoc +0 -297
  118. data/README.ja.rdoc +0 -14
  119. data/README.rdoc +0 -161
  120. data/lib/pg/basic_type_mapping.rb +0 -399
  121. data/lib/pg/constants.rb +0 -11
  122. data/lib/pg/text_decoder.rb +0 -42
  123. data/lib/pg/text_encoder.rb +0 -27
  124. data/spec/data/expected_trace.out +0 -26
  125. data/spec/data/random_binary_data +0 -0
  126. data/spec/helpers.rb +0 -355
  127. data/spec/pg/basic_type_mapping_spec.rb +0 -251
  128. data/spec/pg/connection_spec.rb +0 -1459
  129. data/spec/pg/result_spec.rb +0 -449
  130. data/spec/pg/type_map_by_class_spec.rb +0 -138
  131. data/spec/pg/type_map_by_column_spec.rb +0 -222
  132. data/spec/pg/type_map_by_mri_type_spec.rb +0 -136
  133. data/spec/pg/type_map_by_oid_spec.rb +0 -149
  134. data/spec/pg/type_map_in_ruby_spec.rb +0 -164
  135. data/spec/pg/type_map_spec.rb +0 -22
  136. data/spec/pg/type_spec.rb +0 -665
  137. data/spec/pg_spec.rb +0 -50
metadata CHANGED
@@ -1,170 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
8
8
  - Lars Kanis
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
11
  - |
13
12
  -----BEGIN CERTIFICATE-----
14
- MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
15
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
16
- HhcNMTQwMzE5MDQzNTI2WhcNMTUwMzE5MDQzNTI2WjA+MQwwCgYDVQQDDANnZWQx
17
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
18
- ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDb92mkyYwuGBg1oRxt2tkH
19
- +Uo3LAsaL/APBfSLzy8o3+B3AUHKCjMUaVeBoZdWtMHB75X3VQlvXfZMyBxj59Vo
20
- cDthr3zdao4HnyrzAIQf7BO5Y8KBwVD+yyXCD/N65TTwqsQnO3ie7U5/9ut1rnNr
21
- OkOzAscMwkfQxBkXDzjvAWa6UF4c5c9kR/T79iA21kDx9+bUMentU59aCJtUcbxa
22
- 7kcKJhPEYsk4OdxR9q2dphNMFDQsIdRO8rywX5FRHvcb+qnXC17RvxLHtOjysPtp
23
- EWsYoZMxyCDJpUqbwoeiM+tAHoz2ABMv3Ahie3Qeb6+MZNAtMmaWfBx3dg2u+/WN
24
- AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSZ0hCV
25
- qoHr122fGKelqffzEQBhszAcBgNVHREEFTATgRFnZWRARmFlcmllTVVELm9yZzAc
26
- BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
27
- TuL1Bzl6TBs1YEzEubFHb9XAPgehWzzUudjDKzTRd+uyZmxnomBqTCQjT5ucNRph
28
- 3jZ6bhLNooLQxTjIuHodeGcEMHZdt4Yi7SyPmw5Nry12z6wrDp+5aGps3HsE5WsQ
29
- Zq2EuyEOc96g31uoIvjNdieKs+1kE+K+dJDjtw+wTH2i63P7r6N/NfPPXpxsFquo
30
- wcYRRrHdR7GhdJeT+V8Q8Bi5bglCUGdx+8scMgkkePc98k9osQHypbACmzO+Bqkv
31
- c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
32
- ggcrPfcYeTwWlfZPu2LrBg==
13
+ MIIEBDCCAmygAwIBAgIBAzANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1sYXJz
14
+ L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDAyMjgxOTMxNDdaFw0yNTAy
15
+ MjcxOTMxNDdaMCgxJjAkBgNVBAMMHWxhcnMvREM9Z3JlaXotcmVpbnNkb3JmL0RD
16
+ PWRlMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwum6Y1KznfpzXOT/
17
+ mZgJTBbxZuuZF49Fq3K0WA67YBzNlDv95qzSp7V/7Ek3NCcnT7G+2kSuhNo1FhdN
18
+ eSDO/moYebZNAcu3iqLsuzuULXPLuoU0GsMnVMqV9DZPh7cQHE5EBZ7hlzDBK7k/
19
+ 8nBMvR0mHo77kIkapHc26UzVq/G0nKLfDsIHXVylto3PjzOumjG6GhmFN4r3cP6e
20
+ SDfl1FSeRYVpt4kmQULz/zdSaOH3AjAq7PM2Z91iGwQvoUXMANH2v89OWjQO/NHe
21
+ JMNDFsmHK/6Ji4Kk48Z3TyscHQnipAID5GhS1oD21/WePdj7GhmbF5gBzkV5uepd
22
+ eJQPgWGwrQW/Z2oPjRuJrRofzWfrMWqbOahj9uth6WSxhNexUtbjk6P8emmXOJi5
23
+ chQPnWX+N3Gj+jjYxqTFdwT7Mj3pv1VHa+aNUbqSPpvJeDyxRIuo9hvzDaBHb/Cg
24
+ 9qRVcm8a96n4t7y2lrX1oookY6bkBaxWOMtWlqIprq8JZXM9AgMBAAGjOTA3MAkG
25
+ A1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQ4h1tIyvdUWtMI739xMzTR
26
+ 7EfMFzANBgkqhkiG9w0BAQsFAAOCAYEArBmHSfnUyNWf3R1Fx0mMHloWGdcKn2D2
27
+ BsqTApXU2nADiyppIqRq4b9e7hw342uzadSLkoQcEFOxThLRhAcijoWfQVBcsbV/
28
+ ZsCY1qlUTIJuSWxaSyS4efUX+N4eMNyPM9oW/sphlWFo0DgI34Y9WB6HDzH+O71y
29
+ R7PARke3f4kYnRJf5yRQLPDrH9UYt9KlBQm6l7XMtr5EMnQt0EfcmZEi9H4t/vS2
30
+ haxvpFMdAKo4H46GBYNO96r6b74t++vgQSBTg/AFVwvRZwNSrPPcBfb4xxeEAhRR
31
+ x+LU7feIH7lZ//3buiyD03gLAEtHXai0Y+/VfuWIpwYJAl2BO/tU7FS/dtbJq9oc
32
+ dI36Yyzy+BrCM0WT4oCsagePNb97FaNhl4F6sM5JEPT0ZPxRx0i3G4TNNIYziVos
33
+ 5wFER6XhvvLDFAMh/jMg+s7Wd5SbSHgHNSUaUGVtdWkVPOer6oF0aLdZUR3CETkn
34
+ 5nWXZma/BUd3YgYA/Xumc6QQqIS4p7mr
33
35
  -----END CERTIFICATE-----
34
- date: 2015-01-05 00:00:00.000000000 Z
35
- dependencies:
36
- - !ruby/object:Gem::Dependency
37
- name: hoe-mercurial
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ~>
41
- - !ruby/object:Gem::Version
42
- version: '1.4'
43
- type: :development
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ~>
48
- - !ruby/object:Gem::Version
49
- version: '1.4'
50
- - !ruby/object:Gem::Dependency
51
- name: hoe-deveiate
52
- requirement: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: '0.6'
57
- type: :development
58
- prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ~>
62
- - !ruby/object:Gem::Version
63
- version: '0.6'
64
- - !ruby/object:Gem::Dependency
65
- name: hoe-highline
66
- requirement: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ~>
69
- - !ruby/object:Gem::Version
70
- version: '0.2'
71
- type: :development
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '0.2'
78
- - !ruby/object:Gem::Dependency
79
- name: rdoc
80
- requirement: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ~>
83
- - !ruby/object:Gem::Version
84
- version: '4.0'
85
- type: :development
86
- prerelease: false
87
- version_requirements: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ~>
90
- - !ruby/object:Gem::Version
91
- version: '4.0'
92
- - !ruby/object:Gem::Dependency
93
- name: rake-compiler
94
- requirement: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - ~>
97
- - !ruby/object:Gem::Version
98
- version: '0.9'
99
- type: :development
100
- prerelease: false
101
- version_requirements: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - ~>
104
- - !ruby/object:Gem::Version
105
- version: '0.9'
106
- - !ruby/object:Gem::Dependency
107
- name: hoe
108
- requirement: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - ~>
111
- - !ruby/object:Gem::Version
112
- version: '3.12'
113
- type: :development
114
- prerelease: false
115
- version_requirements: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ~>
118
- - !ruby/object:Gem::Version
119
- version: '3.12'
120
- - !ruby/object:Gem::Dependency
121
- name: hoe-bundler
122
- requirement: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - ~>
125
- - !ruby/object:Gem::Version
126
- version: '1.0'
127
- type: :development
128
- prerelease: false
129
- version_requirements: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: '1.0'
134
- - !ruby/object:Gem::Dependency
135
- name: rspec
136
- requirement: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - ~>
139
- - !ruby/object:Gem::Version
140
- version: '3.0'
141
- type: :development
142
- prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - ~>
146
- - !ruby/object:Gem::Version
147
- version: '3.0'
148
- description: |-
149
- Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
150
-
151
- It works with {PostgreSQL 8.4 and later}[http://www.postgresql.org/support/versioning/].
152
-
153
- A small example usage:
154
-
155
- #!/usr/bin/env ruby
156
-
157
- require 'pg'
158
-
159
- # Output a table of current connections to the DB
160
- conn = PG.connect( dbname: 'sales' )
161
- conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
162
- puts " PID | User | Query"
163
- result.each do |row|
164
- puts " %7d | %-16s | %s " %
165
- row.values_at('procpid', 'usename', 'current_query')
166
- end
167
- end
36
+ date: 2024-03-01 00:00:00.000000000 Z
37
+ dependencies: []
38
+ description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
39
+ 9.3 and later.
168
40
  email:
169
41
  - ged@FaerieMUD.org
170
42
  - lars@greiz-reinsdorf.de
@@ -173,26 +45,26 @@ extensions:
173
45
  - ext/extconf.rb
174
46
  extra_rdoc_files:
175
47
  - Contributors.rdoc
176
- - History.rdoc
177
- - Manifest.txt
48
+ - History.md
178
49
  - README-OS_X.rdoc
179
50
  - README-Windows.rdoc
180
- - README.ja.rdoc
181
- - README.rdoc
182
- - ext/errorcodes.txt
183
- - POSTGRES
184
- - LICENSE
51
+ - README.ja.md
52
+ - README.md
185
53
  - ext/gvl_wrappers.c
54
+ - ext/gvl_wrappers.h
186
55
  - ext/pg.c
56
+ - ext/pg.h
187
57
  - ext/pg_binary_decoder.c
188
58
  - ext/pg_binary_encoder.c
189
59
  - ext/pg_coder.c
190
60
  - ext/pg_connection.c
191
61
  - ext/pg_copy_coder.c
192
62
  - ext/pg_errors.c
63
+ - ext/pg_record_coder.c
193
64
  - ext/pg_result.c
194
65
  - ext/pg_text_decoder.c
195
66
  - ext/pg_text_encoder.c
67
+ - ext/pg_tuple.c
196
68
  - ext/pg_type_map.c
197
69
  - ext/pg_type_map_all_strings.c
198
70
  - ext/pg_type_map_by_class.c
@@ -200,22 +72,64 @@ extra_rdoc_files:
200
72
  - ext/pg_type_map_by_mri_type.c
201
73
  - ext/pg_type_map_by_oid.c
202
74
  - ext/pg_type_map_in_ruby.c
203
- - ext/util.c
75
+ - ext/pg_util.c
76
+ - ext/pg_util.h
77
+ - lib/pg.rb
78
+ - lib/pg/basic_type_map_based_on_result.rb
79
+ - lib/pg/basic_type_map_for_queries.rb
80
+ - lib/pg/basic_type_map_for_results.rb
81
+ - lib/pg/basic_type_registry.rb
82
+ - lib/pg/binary_decoder/date.rb
83
+ - lib/pg/binary_decoder/timestamp.rb
84
+ - lib/pg/binary_encoder/timestamp.rb
85
+ - lib/pg/coder.rb
86
+ - lib/pg/connection.rb
87
+ - lib/pg/exceptions.rb
88
+ - lib/pg/result.rb
89
+ - lib/pg/text_decoder/date.rb
90
+ - lib/pg/text_decoder/inet.rb
91
+ - lib/pg/text_decoder/json.rb
92
+ - lib/pg/text_decoder/numeric.rb
93
+ - lib/pg/text_decoder/timestamp.rb
94
+ - lib/pg/text_encoder/date.rb
95
+ - lib/pg/text_encoder/inet.rb
96
+ - lib/pg/text_encoder/json.rb
97
+ - lib/pg/text_encoder/numeric.rb
98
+ - lib/pg/text_encoder/timestamp.rb
99
+ - lib/pg/tuple.rb
100
+ - lib/pg/type_map_by_column.rb
101
+ - lib/pg/version.rb
204
102
  files:
205
- - .gemtest
103
+ - ".appveyor.yml"
104
+ - ".gems"
105
+ - ".gemtest"
106
+ - ".github/workflows/binary-gems.yml"
107
+ - ".github/workflows/source-gem.yml"
108
+ - ".gitignore"
109
+ - ".hgsigs"
110
+ - ".hgtags"
111
+ - ".irbrc"
112
+ - ".pryrc"
113
+ - ".tm_properties"
114
+ - ".travis.yml"
206
115
  - BSDL
207
- - ChangeLog
208
116
  - Contributors.rdoc
209
- - History.rdoc
117
+ - Gemfile
118
+ - History.md
210
119
  - LICENSE
211
120
  - Manifest.txt
212
121
  - POSTGRES
213
122
  - README-OS_X.rdoc
214
123
  - README-Windows.rdoc
215
- - README.ja.rdoc
216
- - README.rdoc
124
+ - README.ja.md
125
+ - README.md
217
126
  - Rakefile
218
127
  - Rakefile.cross
128
+ - certs/ged.pem
129
+ - certs/kanis@comcard.de.pem
130
+ - certs/larskanis-2022.pem
131
+ - certs/larskanis-2023.pem
132
+ - certs/larskanis-2024.pem
219
133
  - ext/errorcodes.def
220
134
  - ext/errorcodes.rb
221
135
  - ext/errorcodes.txt
@@ -230,9 +144,11 @@ files:
230
144
  - ext/pg_connection.c
231
145
  - ext/pg_copy_coder.c
232
146
  - ext/pg_errors.c
147
+ - ext/pg_record_coder.c
233
148
  - ext/pg_result.c
234
149
  - ext/pg_text_decoder.c
235
150
  - ext/pg_text_encoder.c
151
+ - ext/pg_tuple.c
236
152
  - ext/pg_type_map.c
237
153
  - ext/pg_type_map_all_strings.c
238
154
  - ext/pg_type_map_by_class.c
@@ -240,26 +156,55 @@ files:
240
156
  - ext/pg_type_map_by_mri_type.c
241
157
  - ext/pg_type_map_by_oid.c
242
158
  - ext/pg_type_map_in_ruby.c
243
- - ext/util.c
244
- - ext/util.h
159
+ - ext/pg_util.c
160
+ - ext/pg_util.h
245
161
  - ext/vc/pg.sln
246
162
  - ext/vc/pg_18/pg.vcproj
247
163
  - ext/vc/pg_19/pg_19.vcproj
248
164
  - lib/pg.rb
249
- - lib/pg/basic_type_mapping.rb
165
+ - lib/pg/basic_type_map_based_on_result.rb
166
+ - lib/pg/basic_type_map_for_queries.rb
167
+ - lib/pg/basic_type_map_for_results.rb
168
+ - lib/pg/basic_type_registry.rb
169
+ - lib/pg/binary_decoder/date.rb
170
+ - lib/pg/binary_decoder/timestamp.rb
171
+ - lib/pg/binary_encoder/timestamp.rb
250
172
  - lib/pg/coder.rb
251
173
  - lib/pg/connection.rb
252
- - lib/pg/constants.rb
253
174
  - lib/pg/exceptions.rb
254
175
  - lib/pg/result.rb
255
- - lib/pg/text_decoder.rb
256
- - lib/pg/text_encoder.rb
176
+ - lib/pg/text_decoder/date.rb
177
+ - lib/pg/text_decoder/inet.rb
178
+ - lib/pg/text_decoder/json.rb
179
+ - lib/pg/text_decoder/numeric.rb
180
+ - lib/pg/text_decoder/timestamp.rb
181
+ - lib/pg/text_encoder/date.rb
182
+ - lib/pg/text_encoder/inet.rb
183
+ - lib/pg/text_encoder/json.rb
184
+ - lib/pg/text_encoder/numeric.rb
185
+ - lib/pg/text_encoder/timestamp.rb
186
+ - lib/pg/tuple.rb
257
187
  - lib/pg/type_map_by_column.rb
188
+ - lib/pg/version.rb
189
+ - misc/openssl-pg-segfault.rb
190
+ - misc/postgres/History.txt
191
+ - misc/postgres/Manifest.txt
192
+ - misc/postgres/README.txt
193
+ - misc/postgres/Rakefile
194
+ - misc/postgres/lib/postgres.rb
195
+ - misc/ruby-pg/History.txt
196
+ - misc/ruby-pg/Manifest.txt
197
+ - misc/ruby-pg/README.txt
198
+ - misc/ruby-pg/Rakefile
199
+ - misc/ruby-pg/lib/ruby/pg.rb
200
+ - pg.gemspec
201
+ - rakelib/task_extension.rb
258
202
  - sample/array_insert.rb
259
203
  - sample/async_api.rb
260
204
  - sample/async_copyto.rb
261
205
  - sample/async_mixed.rb
262
206
  - sample/check_conn.rb
207
+ - sample/copydata.rb
263
208
  - sample/copyfrom.rb
264
209
  - sample/copyto.rb
265
210
  - sample/cursor.rb
@@ -273,50 +218,33 @@ files:
273
218
  - sample/test_binary_values.rb
274
219
  - sample/wal_shipper.rb
275
220
  - sample/warehouse_partitions.rb
276
- - spec/data/expected_trace.out
277
- - spec/data/random_binary_data
278
- - spec/helpers.rb
279
- - spec/pg/basic_type_mapping_spec.rb
280
- - spec/pg/connection_spec.rb
281
- - spec/pg/result_spec.rb
282
- - spec/pg/type_map_by_class_spec.rb
283
- - spec/pg/type_map_by_column_spec.rb
284
- - spec/pg/type_map_by_mri_type_spec.rb
285
- - spec/pg/type_map_by_oid_spec.rb
286
- - spec/pg/type_map_in_ruby_spec.rb
287
- - spec/pg/type_map_spec.rb
288
- - spec/pg/type_spec.rb
289
- - spec/pg_spec.rb
290
- homepage: https://bitbucket.org/ged/ruby-pg
221
+ homepage: https://github.com/ged/ruby-pg
291
222
  licenses:
292
- - BSD
293
- - Ruby
294
- - GPL
295
- metadata: {}
296
- post_install_message:
223
+ - BSD-2-Clause
224
+ metadata:
225
+ homepage_uri: https://github.com/ged/ruby-pg
226
+ source_code_uri: https://github.com/ged/ruby-pg
227
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
228
+ documentation_uri: http://deveiate.org/code/pg
297
229
  rdoc_options:
298
- - -f
299
- - fivefish
300
- - -t
301
- - 'pg: The Ruby Interface to PostgreSQL'
302
- - -m
303
- - README.rdoc
230
+ - "--main"
231
+ - README.md
232
+ - "--title"
233
+ - 'PG: The Ruby PostgreSQL Driver'
304
234
  require_paths:
305
235
  - lib
306
236
  required_ruby_version: !ruby/object:Gem::Requirement
307
237
  requirements:
308
- - - '>='
238
+ - - ">="
309
239
  - !ruby/object:Gem::Version
310
- version: 1.9.3
240
+ version: '2.5'
311
241
  required_rubygems_version: !ruby/object:Gem::Requirement
312
242
  requirements:
313
- - - '>='
243
+ - - ">="
314
244
  - !ruby/object:Gem::Version
315
245
  version: '0'
316
246
  requirements: []
317
- rubyforge_project:
318
- rubygems_version: 2.4.5
319
- signing_key:
247
+ rubygems_version: 3.6.0.dev
320
248
  specification_version: 4
321
- summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
249
+ summary: Pg is the Ruby interface to the PostgreSQL RDBMS
322
250
  test_files: []
metadata.gz.sig CHANGED
Binary file