pg 1.5.9 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/{History.md → CHANGELOG.md} +46 -0
  4. data/Gemfile +7 -4
  5. data/README-Windows.rdoc +1 -1
  6. data/README.ja.md +4 -4
  7. data/README.md +6 -5
  8. data/Rakefile +80 -13
  9. data/ext/extconf.rb +158 -14
  10. data/ext/gvl_wrappers.c +13 -2
  11. data/ext/gvl_wrappers.h +33 -0
  12. data/ext/pg.c +16 -5
  13. data/ext/pg.h +9 -9
  14. data/ext/pg_binary_decoder.c +150 -0
  15. data/ext/pg_binary_encoder.c +210 -7
  16. data/ext/pg_cancel_connection.c +360 -0
  17. data/ext/pg_coder.c +52 -5
  18. data/ext/pg_connection.c +368 -158
  19. data/ext/pg_copy_coder.c +2 -2
  20. data/ext/pg_record_coder.c +1 -1
  21. data/ext/pg_result.c +9 -11
  22. data/ext/pg_text_encoder.c +20 -7
  23. data/ext/pg_tuple.c +2 -2
  24. data/ext/pg_type_map.c +1 -1
  25. data/ext/pg_type_map_all_strings.c +1 -1
  26. data/ext/pg_type_map_by_class.c +1 -1
  27. data/ext/pg_type_map_by_column.c +2 -1
  28. data/ext/pg_type_map_by_mri_type.c +1 -1
  29. data/ext/pg_type_map_by_oid.c +3 -1
  30. data/ext/pg_type_map_in_ruby.c +1 -1
  31. data/lib/pg/basic_type_map_for_queries.rb +7 -3
  32. data/lib/pg/basic_type_registry.rb +2 -2
  33. data/lib/pg/cancel_connection.rb +53 -0
  34. data/lib/pg/coder.rb +2 -1
  35. data/lib/pg/connection.rb +254 -131
  36. data/lib/pg/version.rb +1 -1
  37. data/lib/pg.rb +13 -8
  38. data/misc/yugabyte/Dockerfile +9 -0
  39. data/misc/yugabyte/docker-compose.yml +28 -0
  40. data/misc/yugabyte/pg-test.rb +45 -0
  41. data/pg.gemspec +5 -3
  42. data/ports/patches/krb5/1.21.3/0001-Allow-static-linking-krb5-library.patch +30 -0
  43. data/ports/patches/openssl/3.5.1/0001-aarch64-mingw.patch +21 -0
  44. data/ports/patches/postgresql/17.5/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch +42 -0
  45. data/ports/patches/postgresql/17.5/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch +52 -0
  46. data/rakelib/pg_gem_helper.rb +64 -0
  47. data.tar.gz.sig +0 -0
  48. metadata +32 -21
  49. metadata.gz.sig +0 -0
  50. data/Manifest.txt +0 -72
  51. data/Rakefile.cross +0 -303
@@ -0,0 +1,30 @@
1
+ From e82c1b395162ea71279ea2170259383082e41ab0 Mon Sep 17 00:00:00 2001
2
+ From: Lars Kanis <lars@greiz-reinsdorf.de>
3
+ Date: Sat, 12 Jul 2025 10:55:17 +0200
4
+ Subject: [PATCH] Allow static linking krb5 library
5
+
6
+ Otherwise it fails with:
7
+ Undefined symbols for architecture arm64:
8
+ "_krb5int_c_mit_des_zeroblock", referenced from:
9
+ _krb5int_des3_cbc_encrypt in libk5crypto.a(d3_aead.o)
10
+ _krb5int_des3_cbc_decrypt in libk5crypto.a(d3_aead.o)
11
+ ---
12
+ src/lib/crypto/builtin/des/des_int.h | 2 +-
13
+ 1 file changed, 1 insertion(+), 1 deletion(-)
14
+
15
+ diff --git a/src/lib/crypto/builtin/des/des_int.h b/src/lib/crypto/builtin/des/des_int.h
16
+ index 46fed7dbd..114e48ebd 100644
17
+ --- a/lib/crypto/builtin/des/des_int.h
18
+ +++ b/lib/crypto/builtin/des/des_int.h
19
+ @@ -159,7 +159,7 @@ mit_des_cbc_encrypt(const mit_des_cblock *in, mit_des_cblock *out,
20
+ const mit_des_cblock ivec, int enc);
21
+
22
+ #define mit_des_zeroblock krb5int_c_mit_des_zeroblock
23
+ -extern const mit_des_cblock mit_des_zeroblock;
24
+ +const mit_des_cblock mit_des_zeroblock;
25
+
26
+ /* fin_rndkey.c */
27
+ krb5_error_code mit_des_finish_random_key(const krb5_encrypt_block *,
28
+ --
29
+ 2.43.0
30
+
@@ -0,0 +1,21 @@
1
+ --- a/Configurations/10-main.conf
2
+ +++ b/Configurations/10-main.conf
3
+ @@ -1603,6 +1603,18 @@
4
+ multilib => "64",
5
+ },
6
+
7
+ + "mingwarm64" => {
8
+ + inherit_from => [ "mingw-common" ],
9
+ + cflags => "",
10
+ + sys_id => "MINGWARM64",
11
+ + bn_ops => add("SIXTY_FOUR_BIT"),
12
+ + asm_arch => 'aarch64',
13
+ + uplink_arch => 'armv8',
14
+ + perlasm_scheme => "win64",
15
+ + shared_rcflag => "",
16
+ + multilib => "-arm64",
17
+ + },
18
+ +
19
+ #### UEFI
20
+ "UEFI" => {
21
+ inherit_from => [ "BASE_unix" ],
@@ -0,0 +1,42 @@
1
+ From 746e8e250b265c40d9706f26560e02e8623f123f Mon Sep 17 00:00:00 2001
2
+ From: Lars Kanis <lars@greiz-reinsdorf.de>
3
+ Date: Fri, 31 Jan 2025 21:58:00 +0100
4
+ Subject: [PATCH] Use workaround of __builtin_setjmp only on MINGW on MSVCRT
5
+
6
+ Because it is not present on ARM64 on Windows and not necessary on any UCRT based toolchain.
7
+ ---
8
+ src/include/c.h | 10 +++++-----
9
+ 1 file changed, 5 insertions(+), 5 deletions(-)
10
+
11
+ diff --git a/src/include/c.h b/src/include/c.h
12
+ index a14c631516..33792c860c 100644
13
+ --- a/src/include/c.h
14
+ +++ b/src/include/c.h
15
+ @@ -1312,19 +1312,19 @@ extern int fdatasync(int fildes);
16
+ /*
17
+ * When there is no sigsetjmp, its functionality is provided by plain
18
+ * setjmp. We now support the case only on Windows. However, it seems
19
+ - * that MinGW-64 has some longstanding issues in its setjmp support,
20
+ - * so on that toolchain we cheat and use gcc's builtins.
21
+ + * that MinGW-64 on x86_64 has some longstanding issues in its setjmp
22
+ + * support, so on that toolchain we cheat and use gcc's builtins.
23
+ */
24
+ #ifdef WIN32
25
+ -#ifdef __MINGW64__
26
+ +#if defined(__MINGW64__) && !defined(_UCRT)
27
+ typedef intptr_t sigjmp_buf[5];
28
+ #define sigsetjmp(x,y) __builtin_setjmp(x)
29
+ #define siglongjmp __builtin_longjmp
30
+ -#else /* !__MINGW64__ */
31
+ +#else /* !defined(__MINGW64__) || defined(_UCRT) */
32
+ #define sigjmp_buf jmp_buf
33
+ #define sigsetjmp(x,y) setjmp(x)
34
+ #define siglongjmp longjmp
35
+ -#endif /* __MINGW64__ */
36
+ +#endif /* defined(__MINGW64__) && !defined(_UCRT) */
37
+ #endif /* WIN32 */
38
+
39
+ /* /port compatibility functions */
40
+ --
41
+ 2.43.0
42
+
@@ -0,0 +1,52 @@
1
+ From ab793829a4ce473f1cc2bbc0e2a6f6753553255d Mon Sep 17 00:00:00 2001
2
+ From: Lars Kanis <lars@greiz-reinsdorf.de>
3
+ Date: Sun, 8 Sep 2024 13:59:05 +0200
4
+ Subject: [PATCH] libpq: Process buffered SSL read bytes to support records
5
+ >8kB on async API
6
+
7
+ The async API of libpq doesn't support SSL record sizes >8kB so far.
8
+ This size isn't exceeded by vanilla PostgreSQL, but by other products using
9
+ the postgres wire protocol 3.
10
+ PQconsumeInput() reads all data readable from the socket, so that the read
11
+ condition is cleared.
12
+ But it doesn't process all the data that is pending on the SSL layer.
13
+ Also a subsequent call to PQisBusy() doesn't process it, so that the client
14
+ is triggered to wait for more readable data on the socket.
15
+ But this never arrives, so that the connection blocks infinitely.
16
+
17
+ To fix this issue call pqReadData() repeatedly until there is no buffered
18
+ SSL data left to be read.
19
+
20
+ The synchronous libpq API isn't affected, since it supports arbitrary SSL
21
+ record sizes already.
22
+ ---
23
+ src/interfaces/libpq/fe-exec.c | 13 +++++++++++++
24
+ 1 file changed, 13 insertions(+)
25
+
26
+ diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
27
+ index 0d224a852..637894ee1 100644
28
+ --- a/src/interfaces/libpq/fe-exec.c
29
+ +++ b/src/interfaces/libpq/fe-exec.c
30
+ @@ -2006,6 +2006,19 @@ PQconsumeInput(PGconn *conn)
31
+ if (pqReadData(conn) < 0)
32
+ return 0;
33
+
34
+ + #ifdef USE_SSL
35
+ + /*
36
+ + * Ensure all buffered read bytes in the SSL library are processed,
37
+ + * which might be not the case, if the SSL record size exceeds 8k.
38
+ + * Otherwise parseInput can't process the data.
39
+ + */
40
+ + while (conn->ssl_in_use && pgtls_read_pending(conn))
41
+ + {
42
+ + if (pqReadData(conn) < 0)
43
+ + return 0;
44
+ + }
45
+ + #endif
46
+ +
47
+ /* Parsing of the data waits till later. */
48
+ return 1;
49
+ }
50
+ --
51
+ 2.43.0
52
+
@@ -0,0 +1,64 @@
1
+ require 'bundler'
2
+ require 'bundler/gem_helper'
3
+
4
+ class PgGemHelper < Bundler::GemHelper
5
+ attr_accessor :cross_platforms
6
+
7
+ def install
8
+ super
9
+
10
+ task "release:guard_clean" => ["release:update_history"]
11
+
12
+ task "release:update_history" do
13
+ update_history
14
+ end
15
+
16
+ task "release:rubygem_push" => ["gem:native"]
17
+ end
18
+
19
+ def hfile
20
+ "CHANGELOG.md"
21
+ end
22
+
23
+ def headline
24
+ '^([^\n]*)(\d+\.\d+\.\d+(?:\.\w+)?)([^\w]+)([2Y][0Y][0-9Y][0-9Y]-[0-1M][0-9M]-[0-3D][0-9D])([^\w]*|$)'
25
+ end
26
+
27
+ def reldate
28
+ Time.now.strftime("%Y-%m-%d")
29
+ end
30
+
31
+ def update_history
32
+ hin = File.read(hfile)
33
+ hout = hin.sub(/#{headline}/) do
34
+ raise "#{hfile} isn't up-to-date for version #{version} (!= #{$2})" unless $2==version.to_s
35
+ $1 + $2 + $3 + reldate + $5
36
+ end
37
+ if hout != hin
38
+ Bundler.ui.confirm "Updating #{hfile} for release."
39
+ File.write(hfile, hout)
40
+ Rake::FileUtilsExt.sh "git", "commit", hfile, "-m", "Update release date in #{hfile}"
41
+ end
42
+ end
43
+
44
+ def tag_version
45
+ Bundler.ui.confirm "Tag release with annotation:"
46
+ m = File.read(hfile).match(/(?<annotation>#{headline}.*?)#{headline}/m) || raise("Unable to find release notes in #{hfile}")
47
+ Bundler.ui.info(m[:annotation].gsub(/^/, " "))
48
+ IO.popen(["git", "tag", "--file=-", version_tag], "w") do |fd|
49
+ fd.write m[:annotation]
50
+ end
51
+ yield if block_given?
52
+ rescue
53
+ Bundler.ui.error "Untagging #{version_tag} due to error."
54
+ Rake::FileUtilsExt.sh "git", "tag", "-d", version_tag
55
+ raise
56
+ end
57
+
58
+ def rubygem_push(path)
59
+ cross_platforms.each do |ruby_platform|
60
+ super(path.gsub(/\.gem\z/, "-#{ruby_platform}.gem"))
61
+ end
62
+ super(path)
63
+ end
64
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.9
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -11,8 +11,8 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEBDCCAmygAwIBAgIBAzANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1sYXJz
14
- L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDAyMjgxOTMxNDdaFw0yNTAy
15
- MjcxOTMxNDdaMCgxJjAkBgNVBAMMHWxhcnMvREM9Z3JlaXotcmVpbnNkb3JmL0RD
14
+ L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDEyMjkxOTU2NTZaFw0yNTEy
15
+ MjkxOTU2NTZaMCgxJjAkBgNVBAMMHWxhcnMvREM9Z3JlaXotcmVpbnNkb3JmL0RD
16
16
  PWRlMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwum6Y1KznfpzXOT/
17
17
  mZgJTBbxZuuZF49Fq3K0WA67YBzNlDv95qzSp7V/7Ek3NCcnT7G+2kSuhNo1FhdN
18
18
  eSDO/moYebZNAcu3iqLsuzuULXPLuoU0GsMnVMqV9DZPh7cQHE5EBZ7hlzDBK7k/
@@ -23,20 +23,20 @@ cert_chain:
23
23
  chQPnWX+N3Gj+jjYxqTFdwT7Mj3pv1VHa+aNUbqSPpvJeDyxRIuo9hvzDaBHb/Cg
24
24
  9qRVcm8a96n4t7y2lrX1oookY6bkBaxWOMtWlqIprq8JZXM9AgMBAAGjOTA3MAkG
25
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
26
+ 7EfMFzANBgkqhkiG9w0BAQsFAAOCAYEAoZZWzNV2XXaoSmvyamSSN+Wt/Ia+DNrU
27
+ 2pc3kMEqykH6l1WiVPszr6HavQ//2I2UcSRSS5AGDdiSXcfyFmHtMBdtJHhTPcn7
28
+ 4DLliB0szpvwG+ltGD8PI8eWkLaTQeFzs+0QCTavgKV+Zw56Q0J5zZvHHUMrLkUD
29
+ qhwKjdTdkrRTn9Sqi0BrIRRZGTUDdrt8qoWm35aES5arKZzytgrRD/kXfFW2LCg0
30
+ FzgTKibR4/3g8ph94kQLg/D2SMlVPkQ3ECi036mZxDC2n8V6u3rDkG5923wmrRZB
31
+ J6cqz475Q8HYORQCB68OPzkWMfC7mBo3vpSsIqRoNs1FE4FJu4FGwZG8fBSrDC4H
32
+ bZe+GtyS3e2SMjgT65zp35gLO9I7MquzYN9P6V2u1iBpTycchk5z9R1ghxzZSBT8
33
+ DrkJ9tVlPQtJB0LqT0tvBap4upnwT1xYq721b5dwH6AF4Pi6iz/dc5vnq1/MH8bV
34
+ 8VbbBzzeE7MsvgkP3sHlLmY8PtuyViJ8
35
35
  -----END CERTIFICATE-----
36
- date: 2024-10-24 00:00:00.000000000 Z
36
+ date: 2025-07-27 00:00:00.000000000 Z
37
37
  dependencies: []
38
38
  description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
39
- 9.3 and later.
39
+ 10 and later.
40
40
  email:
41
41
  - ged@FaerieMUD.org
42
42
  - lars@greiz-reinsdorf.de
@@ -44,8 +44,8 @@ executables: []
44
44
  extensions:
45
45
  - ext/extconf.rb
46
46
  extra_rdoc_files:
47
+ - CHANGELOG.md
47
48
  - Contributors.rdoc
48
- - History.md
49
49
  - README-OS_X.rdoc
50
50
  - README-Windows.rdoc
51
51
  - README.ja.md
@@ -56,6 +56,7 @@ extra_rdoc_files:
56
56
  - ext/pg.h
57
57
  - ext/pg_binary_decoder.c
58
58
  - ext/pg_binary_encoder.c
59
+ - ext/pg_cancel_connection.c
59
60
  - ext/pg_coder.c
60
61
  - ext/pg_connection.c
61
62
  - ext/pg_copy_coder.c
@@ -82,6 +83,7 @@ extra_rdoc_files:
82
83
  - lib/pg/binary_decoder/date.rb
83
84
  - lib/pg/binary_decoder/timestamp.rb
84
85
  - lib/pg/binary_encoder/timestamp.rb
86
+ - lib/pg/cancel_connection.rb
85
87
  - lib/pg/coder.rb
86
88
  - lib/pg/connection.rb
87
89
  - lib/pg/exceptions.rb
@@ -101,18 +103,16 @@ extra_rdoc_files:
101
103
  - lib/pg/version.rb
102
104
  files:
103
105
  - BSDL
106
+ - CHANGELOG.md
104
107
  - Contributors.rdoc
105
108
  - Gemfile
106
- - History.md
107
109
  - LICENSE
108
- - Manifest.txt
109
110
  - POSTGRES
110
111
  - README-OS_X.rdoc
111
112
  - README-Windows.rdoc
112
113
  - README.ja.md
113
114
  - README.md
114
115
  - Rakefile
115
- - Rakefile.cross
116
116
  - certs/ged.pem
117
117
  - certs/kanis@comcard.de.pem
118
118
  - certs/larskanis-2022.pem
@@ -128,6 +128,7 @@ files:
128
128
  - ext/pg.h
129
129
  - ext/pg_binary_decoder.c
130
130
  - ext/pg_binary_encoder.c
131
+ - ext/pg_cancel_connection.c
131
132
  - ext/pg_coder.c
132
133
  - ext/pg_connection.c
133
134
  - ext/pg_copy_coder.c
@@ -157,6 +158,7 @@ files:
157
158
  - lib/pg/binary_decoder/date.rb
158
159
  - lib/pg/binary_decoder/timestamp.rb
159
160
  - lib/pg/binary_encoder/timestamp.rb
161
+ - lib/pg/cancel_connection.rb
160
162
  - lib/pg/coder.rb
161
163
  - lib/pg/connection.rb
162
164
  - lib/pg/exceptions.rb
@@ -185,7 +187,15 @@ files:
185
187
  - misc/ruby-pg/README.txt
186
188
  - misc/ruby-pg/Rakefile
187
189
  - misc/ruby-pg/lib/ruby/pg.rb
190
+ - misc/yugabyte/Dockerfile
191
+ - misc/yugabyte/docker-compose.yml
192
+ - misc/yugabyte/pg-test.rb
188
193
  - pg.gemspec
194
+ - ports/patches/krb5/1.21.3/0001-Allow-static-linking-krb5-library.patch
195
+ - ports/patches/openssl/3.5.1/0001-aarch64-mingw.patch
196
+ - ports/patches/postgresql/17.5/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch
197
+ - ports/patches/postgresql/17.5/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch
198
+ - rakelib/pg_gem_helper.rb
189
199
  - rakelib/task_extension.rb
190
200
  - sample/array_insert.rb
191
201
  - sample/async_api.rb
@@ -212,8 +222,9 @@ licenses:
212
222
  metadata:
213
223
  homepage_uri: https://github.com/ged/ruby-pg
214
224
  source_code_uri: https://github.com/ged/ruby-pg
215
- changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
225
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/CHANGELOG.md
216
226
  documentation_uri: http://deveiate.org/code/pg
227
+ msys2_mingw_dependencies: postgresql
217
228
  rdoc_options:
218
229
  - "--main"
219
230
  - README.md
@@ -225,14 +236,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
236
  requirements:
226
237
  - - ">="
227
238
  - !ruby/object:Gem::Version
228
- version: '2.5'
239
+ version: '2.7'
229
240
  required_rubygems_version: !ruby/object:Gem::Requirement
230
241
  requirements:
231
242
  - - ">="
232
243
  - !ruby/object:Gem::Version
233
244
  version: '0'
234
245
  requirements: []
235
- rubygems_version: 3.6.0.dev
246
+ rubygems_version: 3.6.2
236
247
  specification_version: 4
237
248
  summary: Pg is the Ruby interface to the PostgreSQL RDBMS
238
249
  test_files: []
metadata.gz.sig CHANGED
Binary file
data/Manifest.txt DELETED
@@ -1,72 +0,0 @@
1
- .gemtest
2
- BSDL
3
- Contributors.rdoc
4
- History.rdoc
5
- LICENSE
6
- Manifest.txt
7
- POSTGRES
8
- README-OS_X.rdoc
9
- README-Windows.rdoc
10
- README.ja.rdoc
11
- README.rdoc
12
- Rakefile
13
- Rakefile.cross
14
- ext/errorcodes.def
15
- ext/errorcodes.rb
16
- ext/errorcodes.txt
17
- ext/extconf.rb
18
- ext/gvl_wrappers.c
19
- ext/gvl_wrappers.h
20
- ext/pg.c
21
- ext/pg.h
22
- ext/pg_binary_decoder.c
23
- ext/pg_binary_encoder.c
24
- ext/pg_coder.c
25
- ext/pg_connection.c
26
- ext/pg_copy_coder.c
27
- ext/pg_errors.c
28
- ext/pg_record_coder.c
29
- ext/pg_result.c
30
- ext/pg_text_decoder.c
31
- ext/pg_text_encoder.c
32
- ext/pg_tuple.c
33
- ext/pg_type_map.c
34
- ext/pg_type_map_all_strings.c
35
- ext/pg_type_map_by_class.c
36
- ext/pg_type_map_by_column.c
37
- ext/pg_type_map_by_mri_type.c
38
- ext/pg_type_map_by_oid.c
39
- ext/pg_type_map_in_ruby.c
40
- ext/pg_util.c
41
- ext/pg_util.h
42
- ext/vc/pg.sln
43
- ext/vc/pg_18/pg.vcproj
44
- ext/vc/pg_19/pg_19.vcproj
45
- lib/pg.rb
46
- lib/pg/basic_type_mapping.rb
47
- lib/pg/binary_decoder.rb
48
- lib/pg/coder.rb
49
- lib/pg/connection.rb
50
- lib/pg/constants.rb
51
- lib/pg/exceptions.rb
52
- lib/pg/result.rb
53
- lib/pg/text_decoder.rb
54
- lib/pg/text_encoder.rb
55
- lib/pg/tuple.rb
56
- lib/pg/type_map_by_column.rb
57
- spec/data/expected_trace.out
58
- spec/data/random_binary_data
59
- spec/helpers.rb
60
- spec/pg/basic_type_mapping_spec.rb
61
- spec/pg/connection_spec.rb
62
- spec/pg/connection_sync_spec.rb
63
- spec/pg/result_spec.rb
64
- spec/pg/tuple_spec.rb
65
- spec/pg/type_map_by_class_spec.rb
66
- spec/pg/type_map_by_column_spec.rb
67
- spec/pg/type_map_by_mri_type_spec.rb
68
- spec/pg/type_map_by_oid_spec.rb
69
- spec/pg/type_map_in_ruby_spec.rb
70
- spec/pg/type_map_spec.rb
71
- spec/pg/type_spec.rb
72
- spec/pg_spec.rb