pg 1.4.6-x64-mingw-ucrt → 1.5.1-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.appveyor.yml +1 -1
- data/.gitignore +3 -0
- data/History.md +61 -0
- data/README.ja.md +29 -19
- data/README.md +29 -15
- data/Rakefile.cross +1 -1
- data/ext/pg.c +10 -28
- data/ext/pg.h +10 -5
- data/ext/pg_binary_decoder.c +79 -0
- data/ext/pg_binary_encoder.c +224 -0
- data/ext/pg_coder.c +16 -7
- data/ext/pg_connection.c +50 -34
- data/ext/pg_copy_coder.c +306 -17
- data/ext/pg_record_coder.c +5 -4
- data/ext/pg_result.c +88 -17
- data/ext/pg_text_decoder.c +28 -10
- data/ext/pg_text_encoder.c +22 -9
- data/ext/pg_tuple.c +34 -31
- data/ext/pg_type_map.c +3 -2
- data/ext/pg_type_map_all_strings.c +2 -2
- data/ext/pg_type_map_by_class.c +5 -3
- data/ext/pg_type_map_by_column.c +9 -3
- data/ext/pg_type_map_by_oid.c +7 -4
- data/ext/pg_type_map_in_ruby.c +5 -2
- data/lib/3.1/pg_ext.so +0 -0
- data/lib/3.2/pg_ext.so +0 -0
- data/lib/pg/basic_type_map_based_on_result.rb +21 -1
- data/lib/pg/basic_type_map_for_queries.rb +13 -8
- data/lib/pg/basic_type_map_for_results.rb +26 -3
- data/lib/pg/basic_type_registry.rb +30 -32
- data/lib/pg/binary_decoder/date.rb +9 -0
- data/lib/pg/binary_decoder/timestamp.rb +26 -0
- data/lib/pg/binary_encoder/timestamp.rb +20 -0
- data/lib/pg/coder.rb +15 -13
- data/lib/pg/connection.rb +63 -12
- data/lib/pg/text_decoder/date.rb +18 -0
- data/lib/pg/text_decoder/inet.rb +9 -0
- data/lib/pg/text_decoder/json.rb +14 -0
- data/lib/pg/text_decoder/numeric.rb +9 -0
- data/lib/pg/text_decoder/timestamp.rb +30 -0
- data/lib/pg/text_encoder/date.rb +12 -0
- data/lib/pg/text_encoder/inet.rb +28 -0
- data/lib/pg/text_encoder/json.rb +14 -0
- data/lib/pg/text_encoder/numeric.rb +9 -0
- data/lib/pg/text_encoder/timestamp.rb +24 -0
- data/lib/pg/version.rb +1 -1
- data/lib/pg.rb +44 -9
- data/lib/x64-mingw-ucrt/libpq.dll +0 -0
- data/pg.gemspec +1 -1
- data/translation/po/all.pot +170 -135
- data/translation/po/ja.po +365 -186
- data/translation/po4a.cfg +4 -1
- data.tar.gz.sig +0 -0
- metadata +28 -10
- metadata.gz.sig +0 -0
- data/lib/pg/binary_decoder.rb +0 -23
- data/lib/pg/constants.rb +0 -12
- data/lib/pg/text_decoder.rb +0 -46
- data/lib/pg/text_encoder.rb +0 -59
data/translation/po/all.pot
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C)
|
3
|
-
# This file is distributed under the same license as the Pg.
|
1
|
+
# SOME DESCRIPTIVE TITLE
|
2
|
+
# Copyright (C) YEAR Pg authors
|
3
|
+
# This file is distributed under the same license as the Pg package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
4
5
|
#
|
6
|
+
#, fuzzy
|
5
7
|
msgid ""
|
6
8
|
msgstr ""
|
7
|
-
"Project-Id-Version: Pg 1.4.
|
8
|
-
"POT-Creation-Date: 2023-
|
9
|
-
"PO-Revision-Date:
|
10
|
-
"Last-Translator:
|
11
|
-
"Language-Team:
|
9
|
+
"Project-Id-Version: Pg 1.4.6\n"
|
10
|
+
"POT-Creation-Date: 2023-03-28 08:27+0200\n"
|
11
|
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12
14
|
"Language: en\n"
|
13
15
|
"MIME-Version: 1.0\n"
|
14
16
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -20,16 +22,23 @@ msgstr ""
|
|
20
22
|
msgid "pg"
|
21
23
|
msgstr ""
|
22
24
|
|
23
|
-
#. type:
|
24
|
-
#: ../README.md:
|
25
|
+
#. type: Bullet: '* '
|
26
|
+
#: ../README.md:7
|
25
27
|
#, markdown-text
|
28
|
+
msgid "home :: https://github.com/ged/ruby-pg"
|
29
|
+
msgstr ""
|
30
|
+
|
31
|
+
#. type: Plain text
|
32
|
+
#: ../README.md:7
|
33
|
+
#, markdown-text, no-wrap
|
26
34
|
msgid ""
|
27
|
-
"
|
28
|
-
"
|
35
|
+
"* docs :: http://deveiate.org/code/pg (English) ,\n"
|
36
|
+
" https://deveiate.org/code/pg/README_ja_md.html (Japanese)\n"
|
37
|
+
"* clog :: link:/History.md\n"
|
29
38
|
msgstr ""
|
30
39
|
|
31
40
|
#. type: Plain text
|
32
|
-
#: ../README.md:
|
41
|
+
#: ../README.md:9
|
33
42
|
#, markdown-text
|
34
43
|
msgid ""
|
35
44
|
"[![Join the chat at "
|
@@ -37,13 +46,13 @@ msgid ""
|
|
37
46
|
msgstr ""
|
38
47
|
|
39
48
|
#. type: Title ##
|
40
|
-
#: ../README.md:
|
49
|
+
#: ../README.md:11
|
41
50
|
#, markdown-text, no-wrap
|
42
51
|
msgid "Description"
|
43
52
|
msgstr ""
|
44
53
|
|
45
54
|
#. type: Plain text
|
46
|
-
#: ../README.md:
|
55
|
+
#: ../README.md:15
|
47
56
|
#, markdown-text
|
48
57
|
msgid ""
|
49
58
|
"Pg is the Ruby interface to the [PostgreSQL "
|
@@ -52,13 +61,13 @@ msgid ""
|
|
52
61
|
msgstr ""
|
53
62
|
|
54
63
|
#. type: Plain text
|
55
|
-
#: ../README.md:
|
64
|
+
#: ../README.md:17
|
56
65
|
#, markdown-text
|
57
66
|
msgid "A small example usage:"
|
58
67
|
msgstr ""
|
59
68
|
|
60
69
|
#. type: Fenced code block (ruby)
|
61
|
-
#: ../README.md:
|
70
|
+
#: ../README.md:17
|
62
71
|
#, no-wrap
|
63
72
|
msgid ""
|
64
73
|
" #!/usr/bin/env ruby\n"
|
@@ -77,13 +86,13 @@ msgid ""
|
|
77
86
|
msgstr ""
|
78
87
|
|
79
88
|
#. type: Title ##
|
80
|
-
#: ../README.md:
|
89
|
+
#: ../README.md:33
|
81
90
|
#, markdown-text, no-wrap
|
82
91
|
msgid "Build Status"
|
83
92
|
msgstr ""
|
84
93
|
|
85
94
|
#. type: Plain text
|
86
|
-
#: ../README.md:
|
95
|
+
#: ../README.md:38
|
87
96
|
#, markdown-text
|
88
97
|
msgid ""
|
89
98
|
"[![Build Status Github "
|
@@ -95,25 +104,25 @@ msgid ""
|
|
95
104
|
msgstr ""
|
96
105
|
|
97
106
|
#. type: Title ##
|
98
|
-
#: ../README.md:
|
107
|
+
#: ../README.md:40
|
99
108
|
#, markdown-text, no-wrap
|
100
109
|
msgid "Requirements"
|
101
110
|
msgstr ""
|
102
111
|
|
103
112
|
#. type: Bullet: '* '
|
104
|
-
#: ../README.md:
|
113
|
+
#: ../README.md:44
|
105
114
|
#, markdown-text
|
106
|
-
msgid "Ruby 2.
|
115
|
+
msgid "Ruby 2.5 or newer"
|
107
116
|
msgstr ""
|
108
117
|
|
109
118
|
#. type: Bullet: '* '
|
110
|
-
#: ../README.md:
|
119
|
+
#: ../README.md:44
|
111
120
|
#, markdown-text
|
112
121
|
msgid "PostgreSQL 9.3.x or later (with headers, -dev packages, etc)."
|
113
122
|
msgstr ""
|
114
123
|
|
115
124
|
#. type: Plain text
|
116
|
-
#: ../README.md:
|
125
|
+
#: ../README.md:47
|
117
126
|
#, markdown-text
|
118
127
|
msgid ""
|
119
128
|
"It usually works with earlier versions of Ruby/PostgreSQL as well, but those "
|
@@ -121,13 +130,13 @@ msgid ""
|
|
121
130
|
msgstr ""
|
122
131
|
|
123
132
|
#. type: Title ##
|
124
|
-
#: ../README.md:
|
133
|
+
#: ../README.md:49
|
125
134
|
#, markdown-text, no-wrap
|
126
135
|
msgid "Versioning"
|
127
136
|
msgstr ""
|
128
137
|
|
129
138
|
#. type: Plain text
|
130
|
-
#: ../README.md:
|
139
|
+
#: ../README.md:52
|
131
140
|
#, markdown-text
|
132
141
|
msgid ""
|
133
142
|
"We tag and release gems according to the [Semantic "
|
@@ -135,7 +144,7 @@ msgid ""
|
|
135
144
|
msgstr ""
|
136
145
|
|
137
146
|
#. type: Plain text
|
138
|
-
#: ../README.md:
|
147
|
+
#: ../README.md:54
|
139
148
|
#, markdown-text
|
140
149
|
msgid ""
|
141
150
|
"As a result of this policy, you can (and should) specify a dependency on "
|
@@ -145,37 +154,37 @@ msgid ""
|
|
145
154
|
msgstr ""
|
146
155
|
|
147
156
|
#. type: Plain text
|
148
|
-
#: ../README.md:
|
157
|
+
#: ../README.md:56
|
149
158
|
#, markdown-text
|
150
159
|
msgid "For example:"
|
151
160
|
msgstr ""
|
152
161
|
|
153
162
|
#. type: Fenced code block (ruby)
|
154
|
-
#: ../README.md:
|
163
|
+
#: ../README.md:57
|
155
164
|
#, no-wrap
|
156
165
|
msgid " spec.add_dependency 'pg', '~> 1.0'\n"
|
157
166
|
msgstr ""
|
158
167
|
|
159
168
|
#. type: Title ##
|
160
|
-
#: ../README.md:
|
169
|
+
#: ../README.md:61
|
161
170
|
#, markdown-text, no-wrap
|
162
171
|
msgid "How To Install"
|
163
172
|
msgstr ""
|
164
173
|
|
165
174
|
#. type: Plain text
|
166
|
-
#: ../README.md:
|
175
|
+
#: ../README.md:64
|
167
176
|
#, markdown-text
|
168
177
|
msgid "Install via RubyGems:"
|
169
178
|
msgstr ""
|
170
179
|
|
171
180
|
#. type: Plain text
|
172
|
-
#: ../README.md:
|
181
|
+
#: ../README.md:66
|
173
182
|
#, markdown-text, no-wrap
|
174
183
|
msgid " gem install pg\n"
|
175
184
|
msgstr ""
|
176
185
|
|
177
186
|
#. type: Plain text
|
178
|
-
#: ../README.md:
|
187
|
+
#: ../README.md:69
|
179
188
|
#, markdown-text
|
180
189
|
msgid ""
|
181
190
|
"You may need to specify the path to the 'pg_config' program installed with "
|
@@ -183,25 +192,25 @@ msgid ""
|
|
183
192
|
msgstr ""
|
184
193
|
|
185
194
|
#. type: Plain text
|
186
|
-
#: ../README.md:
|
195
|
+
#: ../README.md:71
|
187
196
|
#, markdown-text, no-wrap
|
188
197
|
msgid " gem install pg -- --with-pg-config=<path to pg_config>\n"
|
189
198
|
msgstr ""
|
190
199
|
|
191
200
|
#. type: Plain text
|
192
|
-
#: ../README.md:
|
201
|
+
#: ../README.md:73
|
193
202
|
#, markdown-text
|
194
203
|
msgid "If you're installing via Bundler, you can provide compile hints like so:"
|
195
204
|
msgstr ""
|
196
205
|
|
197
206
|
#. type: Plain text
|
198
|
-
#: ../README.md:
|
207
|
+
#: ../README.md:75
|
199
208
|
#, markdown-text, no-wrap
|
200
209
|
msgid " bundle config build.pg --with-pg-config=<path to pg_config>\n"
|
201
210
|
msgstr ""
|
202
211
|
|
203
212
|
#. type: Plain text
|
204
|
-
#: ../README.md:
|
213
|
+
#: ../README.md:78
|
205
214
|
#, markdown-text
|
206
215
|
msgid ""
|
207
216
|
"See README-OS_X.rdoc for more information about installing under MacOS X, "
|
@@ -209,7 +218,7 @@ msgid ""
|
|
209
218
|
msgstr ""
|
210
219
|
|
211
220
|
#. type: Plain text
|
212
|
-
#: ../README.md:
|
221
|
+
#: ../README.md:82
|
213
222
|
#, markdown-text
|
214
223
|
msgid ""
|
215
224
|
"There's also [a Google+ group](http://goo.gl/TFy1U) and a [mailing "
|
@@ -218,7 +227,7 @@ msgid ""
|
|
218
227
|
msgstr ""
|
219
228
|
|
220
229
|
#. type: Plain text
|
221
|
-
#: ../README.md:
|
230
|
+
#: ../README.md:86
|
222
231
|
#, markdown-text
|
223
232
|
msgid ""
|
224
233
|
"If you want to install as a signed gem, the public certs of the gem signers "
|
@@ -228,13 +237,13 @@ msgid ""
|
|
228
237
|
msgstr ""
|
229
238
|
|
230
239
|
#. type: Title ##
|
231
|
-
#: ../README.md:
|
240
|
+
#: ../README.md:88
|
232
241
|
#, markdown-text, no-wrap
|
233
242
|
msgid "Type Casts"
|
234
243
|
msgstr ""
|
235
244
|
|
236
245
|
#. type: Plain text
|
237
|
-
#: ../README.md:
|
246
|
+
#: ../README.md:94
|
238
247
|
#, markdown-text
|
239
248
|
msgid ""
|
240
249
|
"Pg can optionally type cast result values and query parameters in Ruby or "
|
@@ -244,13 +253,13 @@ msgid ""
|
|
244
253
|
msgstr ""
|
245
254
|
|
246
255
|
#. type: Plain text
|
247
|
-
#: ../README.md:
|
256
|
+
#: ../README.md:96
|
248
257
|
#, markdown-text
|
249
258
|
msgid "Very basic type casting can be enabled by:"
|
250
259
|
msgstr ""
|
251
260
|
|
252
261
|
#. type: Fenced code block (ruby)
|
253
|
-
#: ../README.md:
|
262
|
+
#: ../README.md:96
|
254
263
|
#, no-wrap
|
255
264
|
msgid ""
|
256
265
|
" conn.type_map_for_results = PG::BasicTypeMapForResults.new conn\n"
|
@@ -266,7 +275,7 @@ msgid ""
|
|
266
275
|
msgstr ""
|
267
276
|
|
268
277
|
#. type: Plain text
|
269
|
-
#: ../README.md:
|
278
|
+
#: ../README.md:110
|
270
279
|
#, markdown-text
|
271
280
|
msgid ""
|
272
281
|
"But Pg's type casting is highly customizable. That's why it's divided into 2 "
|
@@ -274,13 +283,13 @@ msgid ""
|
|
274
283
|
msgstr ""
|
275
284
|
|
276
285
|
#. type: Title ###
|
277
|
-
#: ../README.md:
|
286
|
+
#: ../README.md:111
|
278
287
|
#, markdown-text, no-wrap
|
279
288
|
msgid "Encoders / Decoders (ext/pg_*coder.c, lib/pg/*coder.rb)"
|
280
289
|
msgstr ""
|
281
290
|
|
282
291
|
#. type: Plain text
|
283
|
-
#: ../README.md:
|
292
|
+
#: ../README.md:118
|
284
293
|
#, markdown-text
|
285
294
|
msgid ""
|
286
295
|
"This is the lower layer, containing encoding classes that convert Ruby "
|
@@ -291,7 +300,7 @@ msgid ""
|
|
291
300
|
msgstr ""
|
292
301
|
|
293
302
|
#. type: Plain text
|
294
|
-
#: ../README.md:
|
303
|
+
#: ../README.md:124
|
295
304
|
#, markdown-text
|
296
305
|
msgid ""
|
297
306
|
"It is possible to assign a type OID, format code (text or binary) and "
|
@@ -302,7 +311,7 @@ msgid ""
|
|
302
311
|
msgstr ""
|
303
312
|
|
304
313
|
#. type: Plain text
|
305
|
-
#: ../README.md:
|
314
|
+
#: ../README.md:126
|
306
315
|
#, markdown-text
|
307
316
|
msgid ""
|
308
317
|
"The following PostgreSQL column types are supported by ruby-pg (TE = Text "
|
@@ -310,7 +319,7 @@ msgid ""
|
|
310
319
|
msgstr ""
|
311
320
|
|
312
321
|
#. type: Bullet: '* '
|
313
|
-
#: ../README.md:
|
322
|
+
#: ../README.md:146
|
314
323
|
#, markdown-text
|
315
324
|
msgid ""
|
316
325
|
"Integer: [TE](rdoc-ref:PG::TextEncoder::Integer), "
|
@@ -319,8 +328,8 @@ msgid ""
|
|
319
328
|
"[here](https://deveiate.org/code/pg/README_md.html#label-Type+Casts) 💡"
|
320
329
|
msgstr ""
|
321
330
|
|
322
|
-
#. type: Bullet: '
|
323
|
-
#: ../README.md:
|
331
|
+
#. type: Bullet: ' * '
|
332
|
+
#: ../README.md:146
|
324
333
|
#, markdown-text
|
325
334
|
msgid ""
|
326
335
|
"BE: [Int2](rdoc-ref:PG::BinaryEncoder::Int2), "
|
@@ -329,7 +338,7 @@ msgid ""
|
|
329
338
|
msgstr ""
|
330
339
|
|
331
340
|
#. type: Bullet: '* '
|
332
|
-
#: ../README.md:
|
341
|
+
#: ../README.md:146
|
333
342
|
#, markdown-text
|
334
343
|
msgid ""
|
335
344
|
"Float: [TE](rdoc-ref:PG::TextEncoder::Float), "
|
@@ -337,8 +346,16 @@ msgid ""
|
|
337
346
|
"[BD](rdoc-ref:PG::BinaryDecoder::Float)"
|
338
347
|
msgstr ""
|
339
348
|
|
349
|
+
#. type: Bullet: ' * '
|
350
|
+
#: ../README.md:146
|
351
|
+
#, markdown-text
|
352
|
+
msgid ""
|
353
|
+
"BE: [Float4](rdoc-ref:PG::BinaryEncoder::Float4), "
|
354
|
+
"[Float8](rdoc-ref:PG::BinaryEncoder::Float8)"
|
355
|
+
msgstr ""
|
356
|
+
|
340
357
|
#. type: Bullet: '* '
|
341
|
-
#: ../README.md:
|
358
|
+
#: ../README.md:146
|
342
359
|
#, markdown-text
|
343
360
|
msgid ""
|
344
361
|
"Numeric: [TE](rdoc-ref:PG::TextEncoder::Numeric), "
|
@@ -346,7 +363,7 @@ msgid ""
|
|
346
363
|
msgstr ""
|
347
364
|
|
348
365
|
#. type: Bullet: '* '
|
349
|
-
#: ../README.md:
|
366
|
+
#: ../README.md:146
|
350
367
|
#, markdown-text
|
351
368
|
msgid ""
|
352
369
|
"Boolean: [TE](rdoc-ref:PG::TextEncoder::Boolean), "
|
@@ -356,7 +373,7 @@ msgid ""
|
|
356
373
|
msgstr ""
|
357
374
|
|
358
375
|
#. type: Bullet: '* '
|
359
|
-
#: ../README.md:
|
376
|
+
#: ../README.md:146
|
360
377
|
#, markdown-text
|
361
378
|
msgid ""
|
362
379
|
"String: [TE](rdoc-ref:PG::TextEncoder::String), "
|
@@ -366,7 +383,7 @@ msgid ""
|
|
366
383
|
msgstr ""
|
367
384
|
|
368
385
|
#. type: Bullet: '* '
|
369
|
-
#: ../README.md:
|
386
|
+
#: ../README.md:146
|
370
387
|
#, markdown-text
|
371
388
|
msgid ""
|
372
389
|
"Bytea: [TE](rdoc-ref:PG::TextEncoder::Bytea), "
|
@@ -376,7 +393,7 @@ msgid ""
|
|
376
393
|
msgstr ""
|
377
394
|
|
378
395
|
#. type: Bullet: '* '
|
379
|
-
#: ../README.md:
|
396
|
+
#: ../README.md:146
|
380
397
|
#, markdown-text
|
381
398
|
msgid ""
|
382
399
|
"Base64: [TE](rdoc-ref:PG::TextEncoder::ToBase64), "
|
@@ -386,13 +403,13 @@ msgid ""
|
|
386
403
|
msgstr ""
|
387
404
|
|
388
405
|
#. type: Bullet: '* '
|
389
|
-
#: ../README.md:
|
406
|
+
#: ../README.md:146
|
390
407
|
#, markdown-text
|
391
408
|
msgid "Timestamp:"
|
392
409
|
msgstr ""
|
393
410
|
|
394
|
-
#. type: Bullet: '
|
395
|
-
#: ../README.md:
|
411
|
+
#. type: Bullet: ' * '
|
412
|
+
#: ../README.md:146
|
396
413
|
#, markdown-text
|
397
414
|
msgid ""
|
398
415
|
"TE: [local](rdoc-ref:PG::TextEncoder::TimestampWithoutTimeZone), "
|
@@ -400,8 +417,8 @@ msgid ""
|
|
400
417
|
"[with-TZ](rdoc-ref:PG::TextEncoder::TimestampWithTimeZone)"
|
401
418
|
msgstr ""
|
402
419
|
|
403
|
-
#. type: Bullet: '
|
404
|
-
#: ../README.md:
|
420
|
+
#. type: Bullet: ' * '
|
421
|
+
#: ../README.md:146
|
405
422
|
#, markdown-text
|
406
423
|
msgid ""
|
407
424
|
"TD: [local](rdoc-ref:PG::TextDecoder::TimestampLocal), "
|
@@ -409,8 +426,16 @@ msgid ""
|
|
409
426
|
"[UTC-to-local](rdoc-ref:PG::TextDecoder::TimestampUtcToLocal)"
|
410
427
|
msgstr ""
|
411
428
|
|
412
|
-
#. type: Bullet: '
|
413
|
-
#: ../README.md:
|
429
|
+
#. type: Bullet: ' * '
|
430
|
+
#: ../README.md:146
|
431
|
+
#, markdown-text
|
432
|
+
msgid ""
|
433
|
+
"BE: [local](rdoc-ref:PG::BinaryEncoder::TimestampLocal), "
|
434
|
+
"[UTC](rdoc-ref:PG::BinaryEncoder::TimestampUtc)"
|
435
|
+
msgstr ""
|
436
|
+
|
437
|
+
#. type: Bullet: ' * '
|
438
|
+
#: ../README.md:146
|
414
439
|
#, markdown-text
|
415
440
|
msgid ""
|
416
441
|
"BD: [local](rdoc-ref:PG::BinaryDecoder::TimestampLocal), "
|
@@ -419,15 +444,17 @@ msgid ""
|
|
419
444
|
msgstr ""
|
420
445
|
|
421
446
|
#. type: Bullet: '* '
|
422
|
-
#: ../README.md:
|
447
|
+
#: ../README.md:146
|
423
448
|
#, markdown-text
|
424
449
|
msgid ""
|
425
450
|
"Date: [TE](rdoc-ref:PG::TextEncoder::Date), "
|
426
|
-
"[TD](rdoc-ref:PG::TextDecoder::Date)"
|
451
|
+
"[TD](rdoc-ref:PG::TextDecoder::Date), "
|
452
|
+
"[BE](rdoc-ref:PG::BinaryEncoder::Date), "
|
453
|
+
"[BD](rdoc-ref:PG::BinaryDecoder::Date)"
|
427
454
|
msgstr ""
|
428
455
|
|
429
456
|
#. type: Bullet: '* '
|
430
|
-
#: ../README.md:
|
457
|
+
#: ../README.md:146
|
431
458
|
#, markdown-text
|
432
459
|
msgid ""
|
433
460
|
"JSON and JSONB: [TE](rdoc-ref:PG::TextEncoder::JSON), "
|
@@ -435,7 +462,7 @@ msgid ""
|
|
435
462
|
msgstr ""
|
436
463
|
|
437
464
|
#. type: Bullet: '* '
|
438
|
-
#: ../README.md:
|
465
|
+
#: ../README.md:146
|
439
466
|
#, markdown-text
|
440
467
|
msgid ""
|
441
468
|
"Inet: [TE](rdoc-ref:PG::TextEncoder::Inet), "
|
@@ -443,7 +470,7 @@ msgid ""
|
|
443
470
|
msgstr ""
|
444
471
|
|
445
472
|
#. type: Bullet: '* '
|
446
|
-
#: ../README.md:
|
473
|
+
#: ../README.md:146
|
447
474
|
#, markdown-text
|
448
475
|
msgid ""
|
449
476
|
"Array: [TE](rdoc-ref:PG::TextEncoder::Array), "
|
@@ -451,7 +478,7 @@ msgid ""
|
|
451
478
|
msgstr ""
|
452
479
|
|
453
480
|
#. type: Bullet: '* '
|
454
|
-
#: ../README.md:
|
481
|
+
#: ../README.md:146
|
455
482
|
#, markdown-text
|
456
483
|
msgid ""
|
457
484
|
"Composite Type (also called \"Row\" or \"Record\"): "
|
@@ -460,23 +487,25 @@ msgid ""
|
|
460
487
|
msgstr ""
|
461
488
|
|
462
489
|
#. type: Plain text
|
463
|
-
#: ../README.md:
|
490
|
+
#: ../README.md:148
|
464
491
|
#, markdown-text
|
465
492
|
msgid ""
|
466
|
-
"The following text formats can also be encoded although they are
|
467
|
-
"column type:"
|
493
|
+
"The following text and binary formats can also be encoded although they are "
|
494
|
+
"not used as column type:"
|
468
495
|
msgstr ""
|
469
496
|
|
470
497
|
#. type: Bullet: '* '
|
471
|
-
#: ../README.md:
|
498
|
+
#: ../README.md:152
|
472
499
|
#, markdown-text
|
473
500
|
msgid ""
|
474
501
|
"COPY input and output data: [TE](rdoc-ref:PG::TextEncoder::CopyRow), "
|
475
|
-
"[TD](rdoc-ref:PG::TextDecoder::CopyRow)"
|
502
|
+
"[TD](rdoc-ref:PG::TextDecoder::CopyRow), "
|
503
|
+
"[BE](rdoc-ref:PG::BinaryEncoder::CopyRow), "
|
504
|
+
"[BD](rdoc-ref:PG::BinaryDecoder::CopyRow)"
|
476
505
|
msgstr ""
|
477
506
|
|
478
507
|
#. type: Bullet: '* '
|
479
|
-
#: ../README.md:
|
508
|
+
#: ../README.md:152
|
480
509
|
#, markdown-text
|
481
510
|
msgid ""
|
482
511
|
"Literal for insertion into SQL string: "
|
@@ -484,7 +513,7 @@ msgid ""
|
|
484
513
|
msgstr ""
|
485
514
|
|
486
515
|
#. type: Bullet: '* '
|
487
|
-
#: ../README.md:
|
516
|
+
#: ../README.md:152
|
488
517
|
#, markdown-text
|
489
518
|
msgid ""
|
490
519
|
"SQL-Identifier: [TE](rdoc-ref:PG::TextEncoder::Identifier), "
|
@@ -492,13 +521,13 @@ msgid ""
|
|
492
521
|
msgstr ""
|
493
522
|
|
494
523
|
#. type: Title ###
|
495
|
-
#: ../README.md:
|
524
|
+
#: ../README.md:153
|
496
525
|
#, markdown-text, no-wrap
|
497
526
|
msgid "PG::TypeMap and derivations (ext/pg_type_map*.c, lib/pg/type_map*.rb)"
|
498
527
|
msgstr ""
|
499
528
|
|
500
529
|
#. type: Plain text
|
501
|
-
#: ../README.md:
|
530
|
+
#: ../README.md:159
|
502
531
|
#, markdown-text
|
503
532
|
msgid ""
|
504
533
|
"A TypeMap defines which value will be converted by which encoder/decoder. "
|
@@ -508,7 +537,7 @@ msgid ""
|
|
508
537
|
msgstr ""
|
509
538
|
|
510
539
|
#. type: Plain text
|
511
|
-
#: ../README.md:
|
540
|
+
#: ../README.md:163
|
512
541
|
#, markdown-text
|
513
542
|
msgid ""
|
514
543
|
"A type map can be assigned per connection or per query respectively per "
|
@@ -517,13 +546,13 @@ msgid ""
|
|
517
546
|
msgstr ""
|
518
547
|
|
519
548
|
#. type: Plain text
|
520
|
-
#: ../README.md:
|
549
|
+
#: ../README.md:165
|
521
550
|
#, markdown-text
|
522
551
|
msgid "The following base type maps are available:"
|
523
552
|
msgstr ""
|
524
553
|
|
525
554
|
#. type: Bullet: '* '
|
526
|
-
#: ../README.md:
|
555
|
+
#: ../README.md:171
|
527
556
|
#, markdown-text
|
528
557
|
msgid ""
|
529
558
|
"PG::TypeMapAllStrings - encodes and decodes all values to and from strings "
|
@@ -531,7 +560,7 @@ msgid ""
|
|
531
560
|
msgstr ""
|
532
561
|
|
533
562
|
#. type: Bullet: '* '
|
534
|
-
#: ../README.md:
|
563
|
+
#: ../README.md:171
|
535
564
|
#, markdown-text
|
536
565
|
msgid ""
|
537
566
|
"PG::TypeMapByClass - selects encoder based on the class of the value to be "
|
@@ -539,25 +568,25 @@ msgid ""
|
|
539
568
|
msgstr ""
|
540
569
|
|
541
570
|
#. type: Bullet: '* '
|
542
|
-
#: ../README.md:
|
571
|
+
#: ../README.md:171
|
543
572
|
#, markdown-text
|
544
573
|
msgid "PG::TypeMapByColumn - selects encoder and decoder by column order"
|
545
574
|
msgstr ""
|
546
575
|
|
547
576
|
#. type: Bullet: '* '
|
548
|
-
#: ../README.md:
|
577
|
+
#: ../README.md:171
|
549
578
|
#, markdown-text
|
550
579
|
msgid "PG::TypeMapByOid - selects decoder by PostgreSQL type OID"
|
551
580
|
msgstr ""
|
552
581
|
|
553
582
|
#. type: Bullet: '* '
|
554
|
-
#: ../README.md:
|
583
|
+
#: ../README.md:171
|
555
584
|
#, markdown-text
|
556
585
|
msgid "PG::TypeMapInRuby - define a custom type map in ruby"
|
557
586
|
msgstr ""
|
558
587
|
|
559
588
|
#. type: Plain text
|
560
|
-
#: ../README.md:
|
589
|
+
#: ../README.md:173
|
561
590
|
#, markdown-text
|
562
591
|
msgid ""
|
563
592
|
"The following type maps are prefilled with type mappings from the "
|
@@ -565,7 +594,7 @@ msgid ""
|
|
565
594
|
msgstr ""
|
566
595
|
|
567
596
|
#. type: Bullet: '* '
|
568
|
-
#: ../README.md:
|
597
|
+
#: ../README.md:177
|
569
598
|
#, markdown-text
|
570
599
|
msgid ""
|
571
600
|
"PG::BasicTypeMapForResults - a PG::TypeMapByOid prefilled with decoders for "
|
@@ -573,7 +602,7 @@ msgid ""
|
|
573
602
|
msgstr ""
|
574
603
|
|
575
604
|
#. type: Bullet: '* '
|
576
|
-
#: ../README.md:
|
605
|
+
#: ../README.md:177
|
577
606
|
#, markdown-text
|
578
607
|
msgid ""
|
579
608
|
"PG::BasicTypeMapBasedOnResult - a PG::TypeMapByOid prefilled with encoders "
|
@@ -581,7 +610,7 @@ msgid ""
|
|
581
610
|
msgstr ""
|
582
611
|
|
583
612
|
#. type: Bullet: '* '
|
584
|
-
#: ../README.md:
|
613
|
+
#: ../README.md:177
|
585
614
|
#, markdown-text
|
586
615
|
msgid ""
|
587
616
|
"PG::BasicTypeMapForQueries - a PG::TypeMapByClass prefilled with encoders "
|
@@ -589,13 +618,13 @@ msgid ""
|
|
589
618
|
msgstr ""
|
590
619
|
|
591
620
|
#. type: Title ##
|
592
|
-
#: ../README.md:
|
621
|
+
#: ../README.md:179
|
593
622
|
#, markdown-text, no-wrap
|
594
623
|
msgid "Thread support"
|
595
624
|
msgstr ""
|
596
625
|
|
597
626
|
#. type: Plain text
|
598
|
-
#: ../README.md:
|
627
|
+
#: ../README.md:184
|
599
628
|
#, markdown-text
|
600
629
|
msgid ""
|
601
630
|
"PG is thread safe in such a way that different threads can use different "
|
@@ -606,7 +635,7 @@ msgid ""
|
|
606
635
|
msgstr ""
|
607
636
|
|
608
637
|
#. type: Plain text
|
609
|
-
#: ../README.md:
|
638
|
+
#: ../README.md:186
|
610
639
|
#, markdown-text
|
611
640
|
msgid ""
|
612
641
|
"If messages like the following are printed to stderr, you're probably using "
|
@@ -614,7 +643,7 @@ msgid ""
|
|
614
643
|
msgstr ""
|
615
644
|
|
616
645
|
#. type: Plain text
|
617
|
-
#: ../README.md:
|
646
|
+
#: ../README.md:192
|
618
647
|
#, markdown-text, no-wrap
|
619
648
|
msgid ""
|
620
649
|
" message type 0x31 arrived from server while idle\n"
|
@@ -625,13 +654,13 @@ msgid ""
|
|
625
654
|
msgstr ""
|
626
655
|
|
627
656
|
#. type: Title ##
|
628
|
-
#: ../README.md:
|
657
|
+
#: ../README.md:194
|
629
658
|
#, markdown-text, no-wrap
|
630
659
|
msgid "Fiber IO scheduler support"
|
631
660
|
msgstr ""
|
632
661
|
|
633
662
|
#. type: Plain text
|
634
|
-
#: ../README.md:
|
663
|
+
#: ../README.md:201
|
635
664
|
#, markdown-text
|
636
665
|
msgid ""
|
637
666
|
"Pg is fully compatible with `Fiber.scheduler` introduced in Ruby-3.0. On "
|
@@ -644,7 +673,7 @@ msgid ""
|
|
644
673
|
msgstr ""
|
645
674
|
|
646
675
|
#. type: Plain text
|
647
|
-
#: ../README.md:
|
676
|
+
#: ../README.md:205
|
648
677
|
#, markdown-text
|
649
678
|
msgid ""
|
650
679
|
"Internally Pg always uses the nonblocking connection mode of libpq. It then "
|
@@ -656,7 +685,7 @@ msgid ""
|
|
656
685
|
msgstr ""
|
657
686
|
|
658
687
|
#. type: Plain text
|
659
|
-
#: ../README.md:
|
688
|
+
#: ../README.md:209
|
660
689
|
#, markdown-text
|
661
690
|
msgid ""
|
662
691
|
"An exception to this rule are the methods for large objects like "
|
@@ -668,13 +697,13 @@ msgid ""
|
|
668
697
|
msgstr ""
|
669
698
|
|
670
699
|
#. type: Title ##
|
671
|
-
#: ../README.md:
|
700
|
+
#: ../README.md:211
|
672
701
|
#, markdown-text, no-wrap
|
673
702
|
msgid "Contributing"
|
674
703
|
msgstr ""
|
675
704
|
|
676
705
|
#. type: Plain text
|
677
|
-
#: ../README.md:
|
706
|
+
#: ../README.md:215
|
678
707
|
#, markdown-text
|
679
708
|
msgid ""
|
680
709
|
"To report bugs, suggest features, or check out the source with Git, [check "
|
@@ -682,87 +711,93 @@ msgid ""
|
|
682
711
|
msgstr ""
|
683
712
|
|
684
713
|
#. type: Plain text
|
685
|
-
#: ../README.md:
|
714
|
+
#: ../README.md:217
|
686
715
|
#, markdown-text
|
687
716
|
msgid "After checking out the source, install all dependencies:"
|
688
717
|
msgstr ""
|
689
718
|
|
690
719
|
#. type: Plain text
|
691
|
-
#: ../README.md:
|
720
|
+
#: ../README.md:219
|
692
721
|
#, markdown-text, no-wrap
|
693
722
|
msgid " $ bundle install\n"
|
694
723
|
msgstr ""
|
695
724
|
|
696
725
|
#. type: Plain text
|
697
|
-
#: ../README.md:
|
726
|
+
#: ../README.md:222
|
698
727
|
#, markdown-text
|
699
|
-
msgid "
|
728
|
+
msgid ""
|
729
|
+
"Cleanup extension files, packaging files, test databases. Run this to "
|
730
|
+
"change between PostgreSQL versions:"
|
700
731
|
msgstr ""
|
701
732
|
|
702
733
|
#. type: Plain text
|
703
|
-
#: ../README.md:
|
734
|
+
#: ../README.md:224
|
704
735
|
#, markdown-text, no-wrap
|
705
736
|
msgid " $ rake clean\n"
|
706
737
|
msgstr ""
|
707
738
|
|
708
739
|
#. type: Plain text
|
709
|
-
#: ../README.md:
|
740
|
+
#: ../README.md:226
|
710
741
|
#, markdown-text
|
711
742
|
msgid "Compile extension:"
|
712
743
|
msgstr ""
|
713
744
|
|
714
745
|
#. type: Plain text
|
715
|
-
#: ../README.md:
|
746
|
+
#: ../README.md:228
|
716
747
|
#, markdown-text, no-wrap
|
717
748
|
msgid " $ rake compile\n"
|
718
749
|
msgstr ""
|
719
750
|
|
720
751
|
#. type: Plain text
|
721
|
-
#: ../README.md:
|
752
|
+
#: ../README.md:230
|
722
753
|
#, markdown-text
|
723
|
-
msgid "
|
754
|
+
msgid ""
|
755
|
+
"Run tests/specs on the PostgreSQL version that `pg_config --bindir` points "
|
756
|
+
"to:"
|
724
757
|
msgstr ""
|
725
758
|
|
726
759
|
#. type: Plain text
|
727
|
-
#: ../README.md:
|
760
|
+
#: ../README.md:232
|
728
761
|
#, markdown-text, no-wrap
|
729
|
-
msgid " $
|
762
|
+
msgid " $ rake test\n"
|
730
763
|
msgstr ""
|
731
764
|
|
732
765
|
#. type: Plain text
|
733
|
-
#: ../README.md:
|
766
|
+
#: ../README.md:234
|
734
767
|
#, markdown-text
|
735
|
-
msgid "
|
768
|
+
msgid ""
|
769
|
+
"Or run a specific test per file and line number on a specific PostgreSQL "
|
770
|
+
"version:"
|
736
771
|
msgstr ""
|
737
772
|
|
738
773
|
#. type: Plain text
|
739
|
-
#: ../README.md:
|
774
|
+
#: ../README.md:236
|
740
775
|
#, markdown-text, no-wrap
|
741
776
|
msgid ""
|
742
|
-
" $ PATH
|
777
|
+
" $ PATH=/usr/lib/postgresql/14/bin:$PATH rspec -Ilib -fd "
|
743
778
|
"spec/pg/connection_spec.rb:455\n"
|
744
779
|
msgstr ""
|
745
780
|
|
746
781
|
#. type: Plain text
|
747
|
-
#: ../README.md:
|
782
|
+
#: ../README.md:238
|
748
783
|
#, markdown-text
|
749
784
|
msgid "Generate the API documentation:"
|
750
785
|
msgstr ""
|
751
786
|
|
752
787
|
#. type: Plain text
|
753
|
-
#: ../README.md:
|
788
|
+
#: ../README.md:240
|
754
789
|
#, markdown-text, no-wrap
|
755
790
|
msgid " $ rake docs\n"
|
756
791
|
msgstr ""
|
757
792
|
|
758
793
|
#. type: Plain text
|
759
|
-
#: ../README.md:
|
794
|
+
#: ../README.md:242
|
760
795
|
#, markdown-text
|
761
796
|
msgid "Make sure, that all bugs and new features are verified by tests."
|
762
797
|
msgstr ""
|
763
798
|
|
764
799
|
#. type: Plain text
|
765
|
-
#: ../README.md:
|
800
|
+
#: ../README.md:245
|
766
801
|
#, markdown-text
|
767
802
|
msgid ""
|
768
803
|
"The current maintainers are Michael Granger <ged@FaerieMUD.org> and Lars "
|
@@ -770,67 +805,67 @@ msgid ""
|
|
770
805
|
msgstr ""
|
771
806
|
|
772
807
|
#. type: Title ##
|
773
|
-
#: ../README.md:
|
808
|
+
#: ../README.md:247
|
774
809
|
#, markdown-text, no-wrap
|
775
810
|
msgid "Copying"
|
776
811
|
msgstr ""
|
777
812
|
|
778
813
|
#. type: Plain text
|
779
|
-
#: ../README.md:
|
814
|
+
#: ../README.md:250
|
780
815
|
#, markdown-text
|
781
816
|
msgid "Copyright (c) 1997-2022 by the authors."
|
782
817
|
msgstr ""
|
783
818
|
|
784
819
|
#. type: Bullet: '* '
|
785
|
-
#: ../README.md:
|
820
|
+
#: ../README.md:259
|
786
821
|
#, markdown-text
|
787
822
|
msgid "Jeff Davis <ruby-pg@j-davis.com>"
|
788
823
|
msgstr ""
|
789
824
|
|
790
825
|
#. type: Bullet: '* '
|
791
|
-
#: ../README.md:
|
826
|
+
#: ../README.md:259
|
792
827
|
#, markdown-text
|
793
828
|
msgid "Guy Decoux (ts) <decoux@moulon.inra.fr>"
|
794
829
|
msgstr ""
|
795
830
|
|
796
831
|
#. type: Bullet: '* '
|
797
|
-
#: ../README.md:
|
832
|
+
#: ../README.md:259
|
798
833
|
#, markdown-text
|
799
834
|
msgid "Michael Granger <ged@FaerieMUD.org>"
|
800
835
|
msgstr ""
|
801
836
|
|
802
837
|
#. type: Bullet: '* '
|
803
|
-
#: ../README.md:
|
838
|
+
#: ../README.md:259
|
804
839
|
#, markdown-text
|
805
840
|
msgid "Lars Kanis <lars@greiz-reinsdorf.de>"
|
806
841
|
msgstr ""
|
807
842
|
|
808
843
|
#. type: Bullet: '* '
|
809
|
-
#: ../README.md:
|
844
|
+
#: ../README.md:259
|
810
845
|
#, markdown-text
|
811
846
|
msgid "Dave Lee"
|
812
847
|
msgstr ""
|
813
848
|
|
814
849
|
#. type: Bullet: '* '
|
815
|
-
#: ../README.md:
|
850
|
+
#: ../README.md:259
|
816
851
|
#, markdown-text
|
817
852
|
msgid "Eiji Matsumoto <usagi@ruby.club.or.jp>"
|
818
853
|
msgstr ""
|
819
854
|
|
820
855
|
#. type: Bullet: '* '
|
821
|
-
#: ../README.md:
|
856
|
+
#: ../README.md:259
|
822
857
|
#, markdown-text
|
823
858
|
msgid "Yukihiro Matsumoto <matz@ruby-lang.org>"
|
824
859
|
msgstr ""
|
825
860
|
|
826
861
|
#. type: Bullet: '* '
|
827
|
-
#: ../README.md:
|
862
|
+
#: ../README.md:259
|
828
863
|
#, markdown-text
|
829
864
|
msgid "Noboru Saitou <noborus@netlab.jp>"
|
830
865
|
msgstr ""
|
831
866
|
|
832
867
|
#. type: Plain text
|
833
|
-
#: ../README.md:
|
868
|
+
#: ../README.md:263
|
834
869
|
#, markdown-text
|
835
870
|
msgid ""
|
836
871
|
"You may redistribute this software under the same terms as Ruby itself; see "
|
@@ -839,7 +874,7 @@ msgid ""
|
|
839
874
|
msgstr ""
|
840
875
|
|
841
876
|
#. type: Plain text
|
842
|
-
#: ../README.md:
|
877
|
+
#: ../README.md:266
|
843
878
|
#, markdown-text
|
844
879
|
msgid ""
|
845
880
|
"Portions of the code are from the PostgreSQL project, and are distributed "
|
@@ -847,19 +882,19 @@ msgid ""
|
|
847
882
|
msgstr ""
|
848
883
|
|
849
884
|
#. type: Plain text
|
850
|
-
#: ../README.md:
|
885
|
+
#: ../README.md:268
|
851
886
|
#, markdown-text
|
852
887
|
msgid "Portions copyright LAIKA, Inc."
|
853
888
|
msgstr ""
|
854
889
|
|
855
890
|
#. type: Title ##
|
856
|
-
#: ../README.md:
|
891
|
+
#: ../README.md:270
|
857
892
|
#, markdown-text, no-wrap
|
858
893
|
msgid "Acknowledgments"
|
859
894
|
msgstr ""
|
860
895
|
|
861
896
|
#. type: Plain text
|
862
|
-
#: ../README.md:
|
897
|
+
#: ../README.md:274
|
863
898
|
#, markdown-text
|
864
899
|
msgid ""
|
865
900
|
"See Contributors.rdoc for the many additional fine people that have "
|
@@ -867,7 +902,7 @@ msgid ""
|
|
867
902
|
msgstr ""
|
868
903
|
|
869
904
|
#. type: Plain text
|
870
|
-
#: ../README.md:
|
905
|
+
#: ../README.md:276
|
871
906
|
#, markdown-text
|
872
907
|
msgid ""
|
873
908
|
"We are thankful to the people at the ruby-list and ruby-dev mailing lists. "
|