pg 1.6.0.rc1-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +4 -0
  3. data/BSDL +22 -0
  4. data/Contributors.rdoc +46 -0
  5. data/Gemfile +23 -0
  6. data/History.md +958 -0
  7. data/LICENSE +56 -0
  8. data/Manifest.txt +72 -0
  9. data/POSTGRES +23 -0
  10. data/README-OS_X.rdoc +68 -0
  11. data/README-Windows.rdoc +56 -0
  12. data/README.ja.md +300 -0
  13. data/README.md +286 -0
  14. data/Rakefile +161 -0
  15. data/certs/ged.pem +24 -0
  16. data/certs/kanis@comcard.de.pem +20 -0
  17. data/certs/larskanis-2022.pem +26 -0
  18. data/certs/larskanis-2023.pem +24 -0
  19. data/certs/larskanis-2024.pem +24 -0
  20. data/ext/errorcodes.def +1043 -0
  21. data/ext/errorcodes.rb +45 -0
  22. data/ext/errorcodes.txt +494 -0
  23. data/ext/extconf.rb +282 -0
  24. data/ext/gvl_wrappers.c +32 -0
  25. data/ext/gvl_wrappers.h +297 -0
  26. data/ext/pg.c +703 -0
  27. data/ext/pg.h +390 -0
  28. data/ext/pg_binary_decoder.c +460 -0
  29. data/ext/pg_binary_encoder.c +583 -0
  30. data/ext/pg_cancel_connection.c +360 -0
  31. data/ext/pg_coder.c +622 -0
  32. data/ext/pg_connection.c +4869 -0
  33. data/ext/pg_copy_coder.c +921 -0
  34. data/ext/pg_errors.c +95 -0
  35. data/ext/pg_record_coder.c +522 -0
  36. data/ext/pg_result.c +1764 -0
  37. data/ext/pg_text_decoder.c +1008 -0
  38. data/ext/pg_text_encoder.c +833 -0
  39. data/ext/pg_tuple.c +572 -0
  40. data/ext/pg_type_map.c +200 -0
  41. data/ext/pg_type_map_all_strings.c +130 -0
  42. data/ext/pg_type_map_by_class.c +271 -0
  43. data/ext/pg_type_map_by_column.c +355 -0
  44. data/ext/pg_type_map_by_mri_type.c +313 -0
  45. data/ext/pg_type_map_by_oid.c +388 -0
  46. data/ext/pg_type_map_in_ruby.c +333 -0
  47. data/ext/pg_util.c +149 -0
  48. data/ext/pg_util.h +65 -0
  49. data/ext/vc/pg.sln +26 -0
  50. data/ext/vc/pg_18/pg.vcproj +216 -0
  51. data/ext/vc/pg_19/pg_19.vcproj +209 -0
  52. data/lib/2.7/pg_ext.so +0 -0
  53. data/lib/3.0/pg_ext.so +0 -0
  54. data/lib/3.1/pg_ext.so +0 -0
  55. data/lib/3.2/pg_ext.so +0 -0
  56. data/lib/3.3/pg_ext.so +0 -0
  57. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  58. data/lib/pg/basic_type_map_for_queries.rb +202 -0
  59. data/lib/pg/basic_type_map_for_results.rb +104 -0
  60. data/lib/pg/basic_type_registry.rb +311 -0
  61. data/lib/pg/binary_decoder/date.rb +9 -0
  62. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  63. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  64. data/lib/pg/cancel_connection.rb +30 -0
  65. data/lib/pg/coder.rb +106 -0
  66. data/lib/pg/connection.rb +1027 -0
  67. data/lib/pg/exceptions.rb +31 -0
  68. data/lib/pg/result.rb +43 -0
  69. data/lib/pg/text_decoder/date.rb +21 -0
  70. data/lib/pg/text_decoder/inet.rb +9 -0
  71. data/lib/pg/text_decoder/json.rb +17 -0
  72. data/lib/pg/text_decoder/numeric.rb +9 -0
  73. data/lib/pg/text_decoder/timestamp.rb +30 -0
  74. data/lib/pg/text_encoder/date.rb +13 -0
  75. data/lib/pg/text_encoder/inet.rb +31 -0
  76. data/lib/pg/text_encoder/json.rb +17 -0
  77. data/lib/pg/text_encoder/numeric.rb +9 -0
  78. data/lib/pg/text_encoder/timestamp.rb +24 -0
  79. data/lib/pg/tuple.rb +30 -0
  80. data/lib/pg/type_map_by_column.rb +16 -0
  81. data/lib/pg/version.rb +4 -0
  82. data/lib/pg.rb +144 -0
  83. data/misc/openssl-pg-segfault.rb +31 -0
  84. data/misc/postgres/History.txt +9 -0
  85. data/misc/postgres/Manifest.txt +5 -0
  86. data/misc/postgres/README.txt +21 -0
  87. data/misc/postgres/Rakefile +21 -0
  88. data/misc/postgres/lib/postgres.rb +16 -0
  89. data/misc/ruby-pg/History.txt +9 -0
  90. data/misc/ruby-pg/Manifest.txt +5 -0
  91. data/misc/ruby-pg/README.txt +21 -0
  92. data/misc/ruby-pg/Rakefile +21 -0
  93. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  94. data/pg.gemspec +36 -0
  95. data/ports/x86_64-linux/lib/libpq-ruby-pg.so.1 +0 -0
  96. data/rakelib/task_extension.rb +46 -0
  97. data/sample/array_insert.rb +20 -0
  98. data/sample/async_api.rb +102 -0
  99. data/sample/async_copyto.rb +39 -0
  100. data/sample/async_mixed.rb +56 -0
  101. data/sample/check_conn.rb +21 -0
  102. data/sample/copydata.rb +71 -0
  103. data/sample/copyfrom.rb +81 -0
  104. data/sample/copyto.rb +19 -0
  105. data/sample/cursor.rb +21 -0
  106. data/sample/disk_usage_report.rb +177 -0
  107. data/sample/issue-119.rb +94 -0
  108. data/sample/losample.rb +69 -0
  109. data/sample/minimal-testcase.rb +17 -0
  110. data/sample/notify_wait.rb +72 -0
  111. data/sample/pg_statistics.rb +285 -0
  112. data/sample/replication_monitor.rb +222 -0
  113. data/sample/test_binary_values.rb +33 -0
  114. data/sample/wal_shipper.rb +434 -0
  115. data/sample/warehouse_partitions.rb +311 -0
  116. data.tar.gz.sig +0 -0
  117. metadata +252 -0
  118. metadata.gz.sig +0 -0
@@ -0,0 +1,311 @@
1
+ # -*- ruby -*-
2
+ # vim: set nosta noet ts=4 sw=4:
3
+ #
4
+ # Script to automatically move partitioned tables and their indexes
5
+ # to a separate area on disk.
6
+ #
7
+ # Mahlon E. Smith <mahlon@martini.nu>
8
+ #
9
+ # Example use case:
10
+ #
11
+ # - You've got a heavy insert table, such as syslog data.
12
+ # - This table has a partitioning trigger (or is manually partitioned)
13
+ # by date, to separate incoming stuff from archival/report stuff.
14
+ # - You have a tablespace on cheap or slower disk (maybe even
15
+ # ZFS compressed, or some such!)
16
+ #
17
+ # The only assumption this script makes is that your tables are dated, and
18
+ # the tablespace they're moving into already exists.
19
+ #
20
+ # A full example, using the syslog idea from above, where each child
21
+ # table is date partitioned by a convention of "syslog_YEAR-WEEKOFYEAR":
22
+ #
23
+ # syslog # <--- parent
24
+ # syslog_2012_06 # <--- inherited
25
+ # syslog_2012_07 # <--- inherited
26
+ # syslog_2012_08 # <--- inherited
27
+ # ...
28
+ #
29
+ # You'd run this script like so:
30
+ #
31
+ # ./warehouse_partitions.rb -F syslog_%Y_%U
32
+ #
33
+ # Assuming this was week 12 of the year, tables syslog_2012_06 through
34
+ # syslog_2012_11 would start sequentially migrating into the tablespace
35
+ # called 'warehouse'.
36
+ #
37
+
38
+
39
+ require 'date'
40
+ require 'ostruct'
41
+ require 'optparse'
42
+ require 'pathname'
43
+ require 'etc'
44
+ require 'pg'
45
+
46
+
47
+ ### A tablespace migration class.
48
+ ###
49
+ class PGWarehouse
50
+
51
+ def initialize( opts )
52
+ @opts = opts
53
+ @db = PG.connect(
54
+ :dbname => opts.database,
55
+ :host => opts.host,
56
+ :port => opts.port,
57
+ :user => opts.user,
58
+ :password => opts.pass,
59
+ :sslmode => 'prefer'
60
+ )
61
+ @db.exec "SET search_path TO %s" % [ opts.schema ] if opts.schema
62
+
63
+ @relations = self.relations
64
+ end
65
+
66
+ attr_reader :db
67
+
68
+ ######
69
+ public
70
+ ######
71
+
72
+ ### Perform the tablespace moves.
73
+ ###
74
+ def migrate
75
+ if @relations.empty?
76
+ $stderr.puts 'No tables were found for warehousing.'
77
+ return
78
+ end
79
+
80
+ $stderr.puts "Found %d relation%s to move." % [ relations.length, relations.length == 1 ? '' : 's' ]
81
+ @relations.sort_by{|_,v| v[:name] }.each do |_, val|
82
+ $stderr.print " - Moving table '%s' to '%s'... " % [
83
+ val[:name], @opts.tablespace
84
+ ]
85
+
86
+ if @opts.dryrun
87
+ $stderr.puts '(not really)'
88
+
89
+ else
90
+ age = self.timer do
91
+ db.exec "ALTER TABLE %s SET TABLESPACE %s;" % [
92
+ val[:name], @opts.tablespace
93
+ ]
94
+ end
95
+ puts age
96
+ end
97
+
98
+ val[ :indexes ].each do |idx|
99
+ $stderr.print " - Moving index '%s' to '%s'... " % [
100
+ idx, @opts.tablespace
101
+ ]
102
+ if @opts.dryrun
103
+ $stderr.puts '(not really)'
104
+
105
+ else
106
+ age = self.timer do
107
+ db.exec "ALTER INDEX %s SET TABLESPACE %s;" % [
108
+ idx, @opts.tablespace
109
+ ]
110
+ end
111
+ puts age
112
+ end
113
+ end
114
+ end
115
+ end
116
+
117
+
118
+ #########
119
+ protected
120
+ #########
121
+
122
+ ### Get OIDs and current tablespaces for everything under the
123
+ ### specified schema.
124
+ ###
125
+ def relations
126
+ return @relations if @relations
127
+ relations = {}
128
+
129
+ query = %q{
130
+ SELECT c.oid AS oid,
131
+ c.relname AS name,
132
+ c.relkind AS kind,
133
+ t.spcname AS tspace
134
+ FROM pg_class AS c
135
+ LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
136
+ LEFT JOIN pg_tablespace t ON t.oid = c.reltablespace
137
+ WHERE c.relkind = 'r' }
138
+ query << "AND n.nspname='#{@opts.schema}'" if @opts.schema
139
+
140
+ # Get the relations list, along with each element's current tablespace.
141
+ #
142
+ self.db.exec( query ) do |res|
143
+ res.each do |row|
144
+ relations[ row['oid'] ] = {
145
+ :name => row['name'],
146
+ :tablespace => row['tspace'],
147
+ :indexes => [],
148
+ :parent => nil
149
+ }
150
+ end
151
+ end
152
+
153
+ # Add table inheritance information.
154
+ #
155
+ db.exec 'SELECT inhrelid AS oid, inhparent AS parent FROM pg_inherits' do |res|
156
+ res.each do |row|
157
+ relations[ row['oid'] ][ :parent ] = row['parent']
158
+ end
159
+ end
160
+
161
+ # Remove tables that don't qualify for warehousing.
162
+ #
163
+ # - Tables that are not children of a parent
164
+ # - Tables that are already in the warehouse tablespace
165
+ # - The currently active child (it's likely being written to!)
166
+ # - Any table that can't be parsed into the specified format
167
+ #
168
+ relations.reject! do |oid, val|
169
+ begin
170
+ val[:parent].nil? ||
171
+ val[:tablespace] == @opts.tablespace ||
172
+ val[:name] == Time.now.strftime( @opts.format ) ||
173
+ ! DateTime.strptime( val[:name], @opts.format )
174
+ rescue ArgumentError
175
+ true
176
+ end
177
+ end
178
+
179
+ query = %q{
180
+ SELECT c.oid AS oid,
181
+ i.indexname AS name
182
+ FROM pg_class AS c
183
+ INNER JOIN pg_indexes AS i
184
+ ON i.tablename = c.relname }
185
+ query << "AND i.schemaname='#{@opts.schema}'" if @opts.schema
186
+
187
+ # Attach index names to tables.
188
+ #
189
+ db.exec( query ) do |res|
190
+ res.each do |row|
191
+ relations[ row['oid'] ][ :indexes ] << row['name'] if relations[ row['oid'] ]
192
+ end
193
+ end
194
+
195
+ return relations
196
+ end
197
+
198
+
199
+ ### Wrap arbitrary commands in a human readable timer.
200
+ ###
201
+ def timer
202
+ start = Time.now
203
+ yield
204
+ age = Time.now - start
205
+
206
+ diff = age
207
+ secs = diff % 60
208
+ diff = ( diff - secs ) / 60
209
+ mins = diff % 60
210
+ diff = ( diff - mins ) / 60
211
+ hour = diff % 24
212
+
213
+ return "%02d:%02d:%02d" % [ hour, mins, secs ]
214
+ end
215
+ end
216
+
217
+
218
+ ### Parse command line arguments. Return a struct of global options.
219
+ ###
220
+ def parse_args( args )
221
+ options = OpenStruct.new
222
+ options.database = Etc.getpwuid( Process.uid ).name
223
+ options.host = '127.0.0.1'
224
+ options.port = 5432
225
+ options.user = Etc.getpwuid( Process.uid ).name
226
+ options.sslmode = 'prefer'
227
+ options.tablespace = 'warehouse'
228
+
229
+ opts = OptionParser.new do |opts|
230
+ opts.banner = "Usage: #{$0} [options]"
231
+
232
+ opts.separator ''
233
+ opts.separator 'Connection options:'
234
+
235
+ opts.on( '-d', '--database DBNAME',
236
+ "specify the database to connect to (default: \"#{options.database}\")" ) do |db|
237
+ options.database = db
238
+ end
239
+
240
+ opts.on( '-h', '--host HOSTNAME', 'database server host' ) do |host|
241
+ options.host = host
242
+ end
243
+
244
+ opts.on( '-p', '--port PORT', Integer,
245
+ "database server port (default: \"#{options.port}\")" ) do |port|
246
+ options.port = port
247
+ end
248
+
249
+ opts.on( '-n', '--schema SCHEMA', String,
250
+ "operate on the named schema only (default: none)" ) do |schema|
251
+ options.schema = schema
252
+ end
253
+
254
+ opts.on( '-T', '--tablespace SPACE', String,
255
+ "move old tables to this tablespace (default: \"#{options.tablespace}\")" ) do |tb|
256
+ options.tablespace = tb
257
+ end
258
+
259
+ opts.on( '-F', '--tableformat FORMAT', String,
260
+ "The naming format (strftime) for the inherited tables (default: none)" ) do |format|
261
+ options.format = format
262
+ end
263
+
264
+ opts.on( '-U', '--user NAME',
265
+ "database user name (default: \"#{options.user}\")" ) do |user|
266
+ options.user = user
267
+ end
268
+
269
+ opts.on( '-W', 'force password prompt' ) do |pw|
270
+ print 'Password: '
271
+ begin
272
+ system 'stty -echo'
273
+ options.pass = gets.chomp
274
+ ensure
275
+ system 'stty echo'
276
+ puts
277
+ end
278
+ end
279
+
280
+ opts.separator ''
281
+ opts.separator 'Other options:'
282
+
283
+ opts.on_tail( '--dry-run', "don't actually do anything" ) do
284
+ options.dryrun = true
285
+ end
286
+
287
+ opts.on_tail( '--help', 'show this help, then exit' ) do
288
+ $stderr.puts opts
289
+ exit
290
+ end
291
+
292
+ opts.on_tail( '--version', 'output version information, then exit' ) do
293
+ puts Stats::VERSION
294
+ exit
295
+ end
296
+ end
297
+
298
+ opts.parse!( args )
299
+ return options
300
+ end
301
+
302
+
303
+ if __FILE__ == $0
304
+ opts = parse_args( ARGV )
305
+ raise ArgumentError, "A naming format (-F) is required." unless opts.format
306
+
307
+ $stdout.sync = true
308
+ PGWarehouse.new( opts ).migrate
309
+ end
310
+
311
+
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,252 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pg
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.0.rc1
5
+ platform: x86_64-linux
6
+ authors:
7
+ - Michael Granger
8
+ - Lars Kanis
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEBDCCAmygAwIBAgIBAzANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1sYXJz
15
+ L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDAyMjgxOTMxNDdaFw0yNTAy
16
+ MjcxOTMxNDdaMCgxJjAkBgNVBAMMHWxhcnMvREM9Z3JlaXotcmVpbnNkb3JmL0RD
17
+ PWRlMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwum6Y1KznfpzXOT/
18
+ mZgJTBbxZuuZF49Fq3K0WA67YBzNlDv95qzSp7V/7Ek3NCcnT7G+2kSuhNo1FhdN
19
+ eSDO/moYebZNAcu3iqLsuzuULXPLuoU0GsMnVMqV9DZPh7cQHE5EBZ7hlzDBK7k/
20
+ 8nBMvR0mHo77kIkapHc26UzVq/G0nKLfDsIHXVylto3PjzOumjG6GhmFN4r3cP6e
21
+ SDfl1FSeRYVpt4kmQULz/zdSaOH3AjAq7PM2Z91iGwQvoUXMANH2v89OWjQO/NHe
22
+ JMNDFsmHK/6Ji4Kk48Z3TyscHQnipAID5GhS1oD21/WePdj7GhmbF5gBzkV5uepd
23
+ eJQPgWGwrQW/Z2oPjRuJrRofzWfrMWqbOahj9uth6WSxhNexUtbjk6P8emmXOJi5
24
+ chQPnWX+N3Gj+jjYxqTFdwT7Mj3pv1VHa+aNUbqSPpvJeDyxRIuo9hvzDaBHb/Cg
25
+ 9qRVcm8a96n4t7y2lrX1oookY6bkBaxWOMtWlqIprq8JZXM9AgMBAAGjOTA3MAkG
26
+ A1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQ4h1tIyvdUWtMI739xMzTR
27
+ 7EfMFzANBgkqhkiG9w0BAQsFAAOCAYEArBmHSfnUyNWf3R1Fx0mMHloWGdcKn2D2
28
+ BsqTApXU2nADiyppIqRq4b9e7hw342uzadSLkoQcEFOxThLRhAcijoWfQVBcsbV/
29
+ ZsCY1qlUTIJuSWxaSyS4efUX+N4eMNyPM9oW/sphlWFo0DgI34Y9WB6HDzH+O71y
30
+ R7PARke3f4kYnRJf5yRQLPDrH9UYt9KlBQm6l7XMtr5EMnQt0EfcmZEi9H4t/vS2
31
+ haxvpFMdAKo4H46GBYNO96r6b74t++vgQSBTg/AFVwvRZwNSrPPcBfb4xxeEAhRR
32
+ x+LU7feIH7lZ//3buiyD03gLAEtHXai0Y+/VfuWIpwYJAl2BO/tU7FS/dtbJq9oc
33
+ dI36Yyzy+BrCM0WT4oCsagePNb97FaNhl4F6sM5JEPT0ZPxRx0i3G4TNNIYziVos
34
+ 5wFER6XhvvLDFAMh/jMg+s7Wd5SbSHgHNSUaUGVtdWkVPOer6oF0aLdZUR3CETkn
35
+ 5nWXZma/BUd3YgYA/Xumc6QQqIS4p7mr
36
+ -----END CERTIFICATE-----
37
+ date: 2024-11-28 00:00:00.000000000 Z
38
+ dependencies: []
39
+ description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
40
+ 10 and later.
41
+ email:
42
+ - ged@FaerieMUD.org
43
+ - lars@greiz-reinsdorf.de
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files:
47
+ - Contributors.rdoc
48
+ - History.md
49
+ - README-OS_X.rdoc
50
+ - README-Windows.rdoc
51
+ - README.ja.md
52
+ - README.md
53
+ - ext/gvl_wrappers.c
54
+ - ext/gvl_wrappers.h
55
+ - ext/pg.c
56
+ - ext/pg.h
57
+ - ext/pg_binary_decoder.c
58
+ - ext/pg_binary_encoder.c
59
+ - ext/pg_cancel_connection.c
60
+ - ext/pg_coder.c
61
+ - ext/pg_connection.c
62
+ - ext/pg_copy_coder.c
63
+ - ext/pg_errors.c
64
+ - ext/pg_record_coder.c
65
+ - ext/pg_result.c
66
+ - ext/pg_text_decoder.c
67
+ - ext/pg_text_encoder.c
68
+ - ext/pg_tuple.c
69
+ - ext/pg_type_map.c
70
+ - ext/pg_type_map_all_strings.c
71
+ - ext/pg_type_map_by_class.c
72
+ - ext/pg_type_map_by_column.c
73
+ - ext/pg_type_map_by_mri_type.c
74
+ - ext/pg_type_map_by_oid.c
75
+ - ext/pg_type_map_in_ruby.c
76
+ - ext/pg_util.c
77
+ - ext/pg_util.h
78
+ - lib/pg.rb
79
+ - lib/pg/basic_type_map_based_on_result.rb
80
+ - lib/pg/basic_type_map_for_queries.rb
81
+ - lib/pg/basic_type_map_for_results.rb
82
+ - lib/pg/basic_type_registry.rb
83
+ - lib/pg/binary_decoder/date.rb
84
+ - lib/pg/binary_decoder/timestamp.rb
85
+ - lib/pg/binary_encoder/timestamp.rb
86
+ - lib/pg/cancel_connection.rb
87
+ - lib/pg/coder.rb
88
+ - lib/pg/connection.rb
89
+ - lib/pg/exceptions.rb
90
+ - lib/pg/result.rb
91
+ - lib/pg/text_decoder/date.rb
92
+ - lib/pg/text_decoder/inet.rb
93
+ - lib/pg/text_decoder/json.rb
94
+ - lib/pg/text_decoder/numeric.rb
95
+ - lib/pg/text_decoder/timestamp.rb
96
+ - lib/pg/text_encoder/date.rb
97
+ - lib/pg/text_encoder/inet.rb
98
+ - lib/pg/text_encoder/json.rb
99
+ - lib/pg/text_encoder/numeric.rb
100
+ - lib/pg/text_encoder/timestamp.rb
101
+ - lib/pg/tuple.rb
102
+ - lib/pg/type_map_by_column.rb
103
+ - lib/pg/version.rb
104
+ files:
105
+ - BSDL
106
+ - Contributors.rdoc
107
+ - Gemfile
108
+ - History.md
109
+ - LICENSE
110
+ - Manifest.txt
111
+ - POSTGRES
112
+ - README-OS_X.rdoc
113
+ - README-Windows.rdoc
114
+ - README.ja.md
115
+ - README.md
116
+ - Rakefile
117
+ - certs/ged.pem
118
+ - certs/kanis@comcard.de.pem
119
+ - certs/larskanis-2022.pem
120
+ - certs/larskanis-2023.pem
121
+ - certs/larskanis-2024.pem
122
+ - ext/errorcodes.def
123
+ - ext/errorcodes.rb
124
+ - ext/errorcodes.txt
125
+ - ext/extconf.rb
126
+ - ext/gvl_wrappers.c
127
+ - ext/gvl_wrappers.h
128
+ - ext/pg.c
129
+ - ext/pg.h
130
+ - ext/pg_binary_decoder.c
131
+ - ext/pg_binary_encoder.c
132
+ - ext/pg_cancel_connection.c
133
+ - ext/pg_coder.c
134
+ - ext/pg_connection.c
135
+ - ext/pg_copy_coder.c
136
+ - ext/pg_errors.c
137
+ - ext/pg_record_coder.c
138
+ - ext/pg_result.c
139
+ - ext/pg_text_decoder.c
140
+ - ext/pg_text_encoder.c
141
+ - ext/pg_tuple.c
142
+ - ext/pg_type_map.c
143
+ - ext/pg_type_map_all_strings.c
144
+ - ext/pg_type_map_by_class.c
145
+ - ext/pg_type_map_by_column.c
146
+ - ext/pg_type_map_by_mri_type.c
147
+ - ext/pg_type_map_by_oid.c
148
+ - ext/pg_type_map_in_ruby.c
149
+ - ext/pg_util.c
150
+ - ext/pg_util.h
151
+ - ext/vc/pg.sln
152
+ - ext/vc/pg_18/pg.vcproj
153
+ - ext/vc/pg_19/pg_19.vcproj
154
+ - lib/2.7/pg_ext.so
155
+ - lib/3.0/pg_ext.so
156
+ - lib/3.1/pg_ext.so
157
+ - lib/3.2/pg_ext.so
158
+ - lib/3.3/pg_ext.so
159
+ - lib/pg.rb
160
+ - lib/pg/basic_type_map_based_on_result.rb
161
+ - lib/pg/basic_type_map_for_queries.rb
162
+ - lib/pg/basic_type_map_for_results.rb
163
+ - lib/pg/basic_type_registry.rb
164
+ - lib/pg/binary_decoder/date.rb
165
+ - lib/pg/binary_decoder/timestamp.rb
166
+ - lib/pg/binary_encoder/timestamp.rb
167
+ - lib/pg/cancel_connection.rb
168
+ - lib/pg/coder.rb
169
+ - lib/pg/connection.rb
170
+ - lib/pg/exceptions.rb
171
+ - lib/pg/result.rb
172
+ - lib/pg/text_decoder/date.rb
173
+ - lib/pg/text_decoder/inet.rb
174
+ - lib/pg/text_decoder/json.rb
175
+ - lib/pg/text_decoder/numeric.rb
176
+ - lib/pg/text_decoder/timestamp.rb
177
+ - lib/pg/text_encoder/date.rb
178
+ - lib/pg/text_encoder/inet.rb
179
+ - lib/pg/text_encoder/json.rb
180
+ - lib/pg/text_encoder/numeric.rb
181
+ - lib/pg/text_encoder/timestamp.rb
182
+ - lib/pg/tuple.rb
183
+ - lib/pg/type_map_by_column.rb
184
+ - lib/pg/version.rb
185
+ - misc/openssl-pg-segfault.rb
186
+ - misc/postgres/History.txt
187
+ - misc/postgres/Manifest.txt
188
+ - misc/postgres/README.txt
189
+ - misc/postgres/Rakefile
190
+ - misc/postgres/lib/postgres.rb
191
+ - misc/ruby-pg/History.txt
192
+ - misc/ruby-pg/Manifest.txt
193
+ - misc/ruby-pg/README.txt
194
+ - misc/ruby-pg/Rakefile
195
+ - misc/ruby-pg/lib/ruby/pg.rb
196
+ - pg.gemspec
197
+ - ports/x86_64-linux/lib/libpq-ruby-pg.so.1
198
+ - rakelib/task_extension.rb
199
+ - sample/array_insert.rb
200
+ - sample/async_api.rb
201
+ - sample/async_copyto.rb
202
+ - sample/async_mixed.rb
203
+ - sample/check_conn.rb
204
+ - sample/copydata.rb
205
+ - sample/copyfrom.rb
206
+ - sample/copyto.rb
207
+ - sample/cursor.rb
208
+ - sample/disk_usage_report.rb
209
+ - sample/issue-119.rb
210
+ - sample/losample.rb
211
+ - sample/minimal-testcase.rb
212
+ - sample/notify_wait.rb
213
+ - sample/pg_statistics.rb
214
+ - sample/replication_monitor.rb
215
+ - sample/test_binary_values.rb
216
+ - sample/wal_shipper.rb
217
+ - sample/warehouse_partitions.rb
218
+ homepage: https://github.com/ged/ruby-pg
219
+ licenses:
220
+ - BSD-2-Clause
221
+ metadata:
222
+ homepage_uri: https://github.com/ged/ruby-pg
223
+ source_code_uri: https://github.com/ged/ruby-pg
224
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
225
+ documentation_uri: http://deveiate.org/code/pg
226
+ post_install_message:
227
+ rdoc_options:
228
+ - "--main"
229
+ - README.md
230
+ - "--title"
231
+ - 'PG: The Ruby PostgreSQL Driver'
232
+ require_paths:
233
+ - lib
234
+ required_ruby_version: !ruby/object:Gem::Requirement
235
+ requirements:
236
+ - - ">="
237
+ - !ruby/object:Gem::Version
238
+ version: '2.7'
239
+ - - "<"
240
+ - !ruby/object:Gem::Version
241
+ version: 3.4.dev
242
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ">"
245
+ - !ruby/object:Gem::Version
246
+ version: 1.3.1
247
+ requirements: []
248
+ rubygems_version: 3.3.26
249
+ signing_key:
250
+ specification_version: 4
251
+ summary: Pg is the Ruby interface to the PostgreSQL RDBMS
252
+ test_files: []
metadata.gz.sig ADDED
Binary file