yugabytedb-ysql 0.3 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/Manifest.txt +12 -12
  4. data/Rakefile +4 -4
  5. data/ext/extconf.rb +6 -6
  6. data/ext/pg.c +1 -1
  7. data/ext/pg.h +1 -2
  8. data/ext/pg_connection.c +9 -5
  9. data/lib/{pg → ysql}/connection.rb +14 -0
  10. data/lib/{pg → ysql}/version.rb +1 -1
  11. data/lib/ysql.rb +29 -29
  12. data/yugabytedb-ysql.gemspec +1 -1
  13. metadata +52 -52
  14. /data/lib/{pg → ysql}/basic_type_map_based_on_result.rb +0 -0
  15. /data/lib/{pg → ysql}/basic_type_map_for_queries.rb +0 -0
  16. /data/lib/{pg → ysql}/basic_type_map_for_results.rb +0 -0
  17. /data/lib/{pg → ysql}/basic_type_registry.rb +0 -0
  18. /data/lib/{pg → ysql}/binary_decoder/date.rb +0 -0
  19. /data/lib/{pg → ysql}/binary_decoder/timestamp.rb +0 -0
  20. /data/lib/{pg → ysql}/binary_encoder/timestamp.rb +0 -0
  21. /data/lib/{pg → ysql}/coder.rb +0 -0
  22. /data/lib/{pg → ysql}/exceptions.rb +0 -0
  23. /data/lib/{pg → ysql}/load_balance_service.rb +0 -0
  24. /data/lib/{pg → ysql}/result.rb +0 -0
  25. /data/lib/{pg → ysql}/text_decoder/date.rb +0 -0
  26. /data/lib/{pg → ysql}/text_decoder/inet.rb +0 -0
  27. /data/lib/{pg → ysql}/text_decoder/json.rb +0 -0
  28. /data/lib/{pg → ysql}/text_decoder/numeric.rb +0 -0
  29. /data/lib/{pg → ysql}/text_decoder/timestamp.rb +0 -0
  30. /data/lib/{pg → ysql}/text_encoder/date.rb +0 -0
  31. /data/lib/{pg → ysql}/text_encoder/inet.rb +0 -0
  32. /data/lib/{pg → ysql}/text_encoder/json.rb +0 -0
  33. /data/lib/{pg → ysql}/text_encoder/numeric.rb +0 -0
  34. /data/lib/{pg → ysql}/text_encoder/timestamp.rb +0 -0
  35. /data/lib/{pg → ysql}/tuple.rb +0 -0
  36. /data/lib/{pg → ysql}/type_map_by_column.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 701ee635042a1b90dbe1a42b7807bf2513367f952cf993dd46c6af829331c2b2
4
- data.tar.gz: efdb7fe09baebbc4458e497f7b4f0633d3b25637029a4ca5dc03492601367f40
3
+ metadata.gz: d9347ec836b745a18b8488faaa92531bc2e5a11fd03bb3c663768a447ee6fd85
4
+ data.tar.gz: cb090813d96a65fdcbcfa99f0bcb19e45eaf9e642efc8f1d05db7ac546779d4b
5
5
  SHA512:
6
- metadata.gz: 8fb602e5083170acc7105454af2e0c699eaf68a904ec8de291794b178de4474f0f49f2470969fabc2bec5ebc5ba2aa563c86af868b050564b2df90aeafd45274
7
- data.tar.gz: 816d02e79e0ce31f2f36a0ac27d1872d78d66323913e16fac8e6b4ebdf4f585eb927745b86e27718eef929bab61a615ee02845e8752576fbf8b57dd9bec70906
6
+ metadata.gz: aacb77ed16eb757206c6aa9541e54edd1639f5da2b2f5351ac707ad5fb07583a820ebc08ef7be439108f4d7deedf39e68a5202a2d4094fddbc4ef4bd5420bcaf
7
+ data.tar.gz: 5c82688254d30c875d44696174c5928496404d518300c6de0f709bc28d924b13f4c394d501f993018f1b4f1d2eacabc12427959e6ff25d80ad28e1affec26daa
data/.gitignore CHANGED
@@ -19,6 +19,6 @@
19
19
  /tmp_test_*/
20
20
  /vendor/
21
21
  /lib/libpq.dll
22
- /lib/pg/postgresql_lib_path.rb
22
+ /lib/ysql/postgresql_lib_path.rb
23
23
  /.idea/
24
24
  .irb_history
data/Manifest.txt CHANGED
@@ -43,18 +43,18 @@ ext/vc/pg.sln
43
43
  ext/vc/pg_18/pg.vcproj
44
44
  ext/vc/pg_19/pg_19.vcproj
45
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
- lib/pg/load_balance_service.rb
46
+ lib/ysql/basic_type_mapping.rb
47
+ lib/ysql/binary_decoder.rb
48
+ lib/ysql/coder.rb
49
+ lib/ysql/connection.rb
50
+ lib/ysql/constants.rb
51
+ lib/ysql/exceptions.rb
52
+ lib/ysql/result.rb
53
+ lib/ysql/text_decoder.rb
54
+ lib/ysql/text_encoder.rb
55
+ lib/ysql/tuple.rb
56
+ lib/ysql/type_map_by_column.rb
57
+ lib/ysql/load_balance_service.rb
58
58
  spec/data/expected_trace.out
59
59
  spec/data/random_binary_data
60
60
  spec/helpers.rb
data/Rakefile CHANGED
@@ -22,15 +22,15 @@ TMPDIR = BASEDIR + 'tmp'
22
22
  TESTDIR = BASEDIR + "tmp_test_*"
23
23
 
24
24
  DLEXT = RbConfig::CONFIG['DLEXT']
25
- EXT = LIBDIR + "pg_ext.#{DLEXT}"
25
+ EXT = LIBDIR + "ysql_ext.#{DLEXT}"
26
26
 
27
27
  GEMSPEC = 'yugabytedb-ysql.gemspec'
28
28
 
29
29
  CLEAN.include( TESTDIR.to_s )
30
30
  CLEAN.include( PKGDIR.to_s, TMPDIR.to_s )
31
31
  CLEAN.include "lib/*/libpq.dll"
32
- CLEAN.include "lib/pg_ext.*"
33
- CLEAN.include "lib/pg/postgresql_lib_path.rb"
32
+ CLEAN.include "lib/ysql_ext.*"
33
+ CLEAN.include "lib/ysql/postgresql_lib_path.rb"
34
34
 
35
35
  load 'Rakefile.cross'
36
36
 
@@ -44,7 +44,7 @@ end
44
44
 
45
45
  # Rake-compiler task
46
46
  Rake::ExtensionTask.new do |ext|
47
- ext.name = 'pg_ext'
47
+ ext.name = 'ysql_ext'
48
48
  ext.gem_spec = $gem_spec
49
49
  ext.ext_dir = 'ext'
50
50
  ext.lib_dir = 'lib'
data/ext/extconf.rb CHANGED
@@ -11,7 +11,7 @@ if ENV['MAINTAINER_MODE']
11
11
  ' -pedantic'
12
12
  end
13
13
 
14
- if pgdir = with_config( 'pg' )
14
+ if pgdir = with_config( 'ysql' )
15
15
  ENV['PATH'] = "#{pgdir}/bin" + File::PATH_SEPARATOR + ENV['PATH']
16
16
  end
17
17
 
@@ -26,7 +26,7 @@ if enable_config("windows-cross")
26
26
  # Avoid dependency to external libgcc.dll on x86-mingw32
27
27
  $LDFLAGS << " -static-libgcc"
28
28
  # Don't use pg_config for cross build, but --with-pg-* path options
29
- dir_config 'pg'
29
+ dir_config 'ysql'
30
30
 
31
31
  else
32
32
  # Native build
@@ -39,7 +39,7 @@ else
39
39
  $stderr.puts "Using config values from %s" % [ pgconfig ]
40
40
  incdir = IO.popen([pgconfig, "--includedir"], &:read).chomp
41
41
  libdir = IO.popen([pgconfig, "--libdir"], &:read).chomp
42
- dir_config 'pg', incdir, libdir
42
+ dir_config 'ysql', incdir, libdir
43
43
 
44
44
  # Windows traditionally stores DLLs beside executables, not in libdir
45
45
  dlldir = RUBY_PLATFORM=~/mingw|mswin/ ? IO.popen([pgconfig, "--bindir"], &:read).chomp : libdir
@@ -50,7 +50,7 @@ else
50
50
  end
51
51
 
52
52
  else
53
- incdir, libdir = dir_config 'pg'
53
+ incdir, libdir = dir_config 'ysql'
54
54
  dlldir = libdir
55
55
  end
56
56
 
@@ -74,7 +74,7 @@ module YSQL
74
74
  end
75
75
  EOT
76
76
  $INSTALLFILES = {
77
- "./postgresql_lib_path.rb" => "$(RUBYLIBDIR)/pg/"
77
+ "./postgresql_lib_path.rb" => "$(RUBYLIBDIR)/ysql/"
78
78
  }
79
79
 
80
80
  if RUBY_VERSION >= '2.3.0' && /solaris/ =~ RUBY_PLATFORM
@@ -170,5 +170,5 @@ checking_for "C99 variable length arrays" do
170
170
  end
171
171
 
172
172
  create_header()
173
- create_makefile( "pg_ext" )
173
+ create_makefile( "ysql_ext" )
174
174
 
data/ext/pg.c CHANGED
@@ -332,7 +332,7 @@ pg_s_init_ssl(VALUE self, VALUE do_ssl)
332
332
  **************************************************************************/
333
333
 
334
334
  void
335
- Init_pg_ext(void)
335
+ Init_ysql_ext(void)
336
336
  {
337
337
 
338
338
  #ifdef HAVE_RB_EXT_RACTOR_SAFE
data/ext/pg.h CHANGED
@@ -259,7 +259,6 @@ extern VALUE rb_eInvalidChangeOfResultFields;
259
259
  extern VALUE rb_mPGconstants;
260
260
  extern VALUE rb_cPGconn;
261
261
  extern VALUE rb_cPGresult;
262
- extern VALUE rb_cPGlbs;
263
262
  extern VALUE rb_hErrors;
264
263
  extern VALUE rb_cTypeMap;
265
264
  extern VALUE rb_cTypeMapAllStrings;
@@ -293,7 +292,7 @@ extern VALUE pg_typemap_all_strings;
293
292
  /***************************************************************************
294
293
  * PROTOTYPES
295
294
  **************************************************************************/
296
- void Init_pg_ext _(( void ));
295
+ void Init_ysql_ext _(( void ));
297
296
 
298
297
  void init_pg_connection _(( void ));
299
298
  void init_pg_result _(( void ));
data/ext/pg_connection.c CHANGED
@@ -11,7 +11,6 @@
11
11
 
12
12
 
13
13
  VALUE rb_cPGconn;
14
- VALUE rb_cPGlbs;
15
14
  static ID s_id_encode;
16
15
  static ID s_id_autoclose_set;
17
16
  static VALUE sym_type, sym_format, sym_value;
@@ -533,9 +532,6 @@ static VALUE
533
532
  pgconn_finish( VALUE self )
534
533
  {
535
534
  t_pg_connection *this = pg_get_connection_safe( self );
536
- char *host = PQhost(this->pgconn);
537
- rb_cPGlbs = rb_define_class_under( rb_mPG, "LoadBalanceService", rb_cObject );
538
- if (host) rb_funcall(rb_cPGlbs, rb_intern("decrement_connection_count"), 1, rb_str_new2(host));
539
535
 
540
536
  pgconn_close_socket_io( self );
541
537
  PQfinish( this->pgconn );
@@ -2457,6 +2453,15 @@ wait_socket_readable( VALUE self, struct timeval *ptimeout, void *(*is_readable)
2457
2453
  pgconn_close_socket_io(self);
2458
2454
  pg_raise_conn_error(rb_eConnectionBad, self, "PQconsumeInput() %s", PQerrorMessage(conn));
2459
2455
  }
2456
+
2457
+ if (PQsslInUse(conn)) {
2458
+ for (int i = 0; i < 15; i++) {
2459
+ if ( PQconsumeInput(conn) == 0 ) {
2460
+ pgconn_close_socket_io(self);
2461
+ pg_raise_conn_error(rb_eConnectionBad, self, "PQconsumeInput() #%d - %s", i, PQerrorMessage(conn));
2462
+ }
2463
+ }
2464
+ }
2460
2465
  }
2461
2466
 
2462
2467
  return retval;
@@ -4502,7 +4507,6 @@ init_pg_connection(void)
4502
4507
  rb_define_method(rb_cPGconn, "reset_start", pgconn_reset_start, 0);
4503
4508
  rb_define_private_method(rb_cPGconn, "reset_start2", pgconn_reset_start2, 1);
4504
4509
  rb_define_method(rb_cPGconn, "reset_poll", pgconn_reset_poll, 0);
4505
- rb_define_alias(rb_cPGconn, "close", "finish");
4506
4510
 
4507
4511
  /****** PG::Connection INSTANCE METHODS: Connection Status ******/
4508
4512
  rb_define_method(rb_cPGconn, "db", pgconn_db, 0);
@@ -304,6 +304,20 @@ class YSQL::Connection
304
304
  end
305
305
  end
306
306
 
307
+ def close
308
+ h = host
309
+ h_addr = hostaddr
310
+ begin
311
+ finish()
312
+ ensure
313
+ if h
314
+ YSQL::LoadBalanceService.decrement_connection_count(h)
315
+ elsif h_addr
316
+ YSQL::LoadBalanceService.decrement_connection_count(h_addr)
317
+ end
318
+ end
319
+ end
320
+
307
321
  # Backward-compatibility aliases for stuff that's moved into PG.
308
322
  class << self
309
323
  define_method( :isthreadsafe, &YSQL.method(:isthreadsafe) )
@@ -1,5 +1,5 @@
1
1
  module YSQL
2
2
  # Library version
3
3
  PG_VERSION = '1.5.6'
4
- VERSION = '0.3'
4
+ VERSION = '0.5'
5
5
  end
data/lib/ysql.rb CHANGED
@@ -13,10 +13,10 @@ module YSQL
13
13
  bundled_libpq_path = nil
14
14
  # Try to load libpq path as found by extconf.rb
15
15
  begin
16
- require "pg/postgresql_lib_path"
16
+ require "ysql/postgresql_lib_path"
17
17
  rescue LoadError
18
18
  # rake-compiler doesn't use regular "make install", but uses it's own install tasks.
19
- # It therefore doesn't copy pg/postgresql_lib_path.rb in case of "rake compile".
19
+ # It therefore doesn't copy ysql/postgresql_lib_path.rb in case of "rake compile".
20
20
  POSTGRESQL_LIB_PATH = false
21
21
  end
22
22
  end
@@ -44,9 +44,9 @@ module YSQL
44
44
  # It's a Windows binary gem, try the <major>.<minor> subdirectory
45
45
  major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
46
46
  raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"
47
- require "#{major_minor}/pg_ext"
47
+ require "#{major_minor}/ysql_ext"
48
48
  else
49
- require 'pg_ext'
49
+ require 'ysql_ext'
50
50
  end
51
51
  end
52
52
 
@@ -75,46 +75,46 @@ module YSQL
75
75
 
76
76
  module BinaryDecoder
77
77
  %i[ TimestampUtc TimestampUtcToLocal TimestampLocal ].each do |klass|
78
- autoload klass, 'pg/binary_decoder/timestamp'
78
+ autoload klass, 'ysql/binary_decoder/timestamp'
79
79
  end
80
- autoload :Date, 'pg/binary_decoder/date'
80
+ autoload :Date, 'ysql/binary_decoder/date'
81
81
  end
82
82
  module BinaryEncoder
83
83
  %i[ TimestampUtc TimestampLocal ].each do |klass|
84
- autoload klass, 'pg/binary_encoder/timestamp'
84
+ autoload klass, 'ysql/binary_encoder/timestamp'
85
85
  end
86
86
  end
87
87
  module TextDecoder
88
88
  %i[ TimestampUtc TimestampUtcToLocal TimestampLocal TimestampWithoutTimeZone TimestampWithTimeZone ].each do |klass|
89
- autoload klass, 'pg/text_decoder/timestamp'
89
+ autoload klass, 'ysql/text_decoder/timestamp'
90
90
  end
91
- autoload :Date, 'pg/text_decoder/date'
92
- autoload :Inet, 'pg/text_decoder/inet'
93
- autoload :JSON, 'pg/text_decoder/json'
94
- autoload :Numeric, 'pg/text_decoder/numeric'
91
+ autoload :Date, 'ysql/text_decoder/date'
92
+ autoload :Inet, 'ysql/text_decoder/inet'
93
+ autoload :JSON, 'ysql/text_decoder/json'
94
+ autoload :Numeric, 'ysql/text_decoder/numeric'
95
95
  end
96
96
  module TextEncoder
97
97
  %i[ TimestampUtc TimestampWithoutTimeZone TimestampWithTimeZone ].each do |klass|
98
- autoload klass, 'pg/text_encoder/timestamp'
98
+ autoload klass, 'ysql/text_encoder/timestamp'
99
99
  end
100
- autoload :Date, 'pg/text_encoder/date'
101
- autoload :Inet, 'pg/text_encoder/inet'
102
- autoload :JSON, 'pg/text_encoder/json'
103
- autoload :Numeric, 'pg/text_encoder/numeric'
100
+ autoload :Date, 'ysql/text_encoder/date'
101
+ autoload :Inet, 'ysql/text_encoder/inet'
102
+ autoload :JSON, 'ysql/text_encoder/json'
103
+ autoload :Numeric, 'ysql/text_encoder/numeric'
104
104
  end
105
105
 
106
- autoload :BasicTypeMapBasedOnResult, 'pg/basic_type_map_based_on_result'
107
- autoload :BasicTypeMapForQueries, 'pg/basic_type_map_for_queries'
108
- autoload :BasicTypeMapForResults, 'pg/basic_type_map_for_results'
109
- autoload :BasicTypeRegistry, 'pg/basic_type_registry'
110
- require 'pg/exceptions'
111
- require 'pg/coder'
112
- require 'pg/type_map_by_column'
113
- require 'pg/connection'
114
- require 'pg/result'
115
- require 'pg/tuple'
116
- require 'pg/load_balance_service'
117
- autoload :VERSION, 'pg/version'
106
+ autoload :BasicTypeMapBasedOnResult, 'ysql/basic_type_map_based_on_result'
107
+ autoload :BasicTypeMapForQueries, 'ysql/basic_type_map_for_queries'
108
+ autoload :BasicTypeMapForResults, 'ysql/basic_type_map_for_results'
109
+ autoload :BasicTypeRegistry, 'ysql/basic_type_registry'
110
+ require 'ysql/exceptions'
111
+ require 'ysql/coder'
112
+ require 'ysql/type_map_by_column'
113
+ require 'ysql/connection'
114
+ require 'ysql/result'
115
+ require 'ysql/tuple'
116
+ require 'ysql/load_balance_service'
117
+ autoload :VERSION, 'ysql/version'
118
118
 
119
119
 
120
120
  # Avoid "uninitialized constant Truffle::WarningOperations" on Truffleruby up to 22.3.1
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  # -*- encoding: utf-8 -*-
3
3
 
4
- require_relative 'lib/pg/version'
4
+ require_relative 'lib/ysql/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "yugabytedb-ysql"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yugabytedb-ysql
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-07-03 00:00:00.000000000 Z
13
+ date: 2024-08-23 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Pg_YugabyteDB is the Ruby interface to the PostgreSQL-compatible YugabyteDB.
16
16
  It works with YugabyteDB 2.20 and later.
@@ -52,32 +52,32 @@ extra_rdoc_files:
52
52
  - ext/pg_type_map_in_ruby.c
53
53
  - ext/pg_util.c
54
54
  - ext/pg_util.h
55
- - lib/pg/basic_type_map_based_on_result.rb
56
- - lib/pg/basic_type_map_for_queries.rb
57
- - lib/pg/basic_type_map_for_results.rb
58
- - lib/pg/basic_type_registry.rb
59
- - lib/pg/binary_decoder/date.rb
60
- - lib/pg/binary_decoder/timestamp.rb
61
- - lib/pg/binary_encoder/timestamp.rb
62
- - lib/pg/coder.rb
63
- - lib/pg/connection.rb
64
- - lib/pg/exceptions.rb
65
- - lib/pg/load_balance_service.rb
66
- - lib/pg/result.rb
67
- - lib/pg/text_decoder/date.rb
68
- - lib/pg/text_decoder/inet.rb
69
- - lib/pg/text_decoder/json.rb
70
- - lib/pg/text_decoder/numeric.rb
71
- - lib/pg/text_decoder/timestamp.rb
72
- - lib/pg/text_encoder/date.rb
73
- - lib/pg/text_encoder/inet.rb
74
- - lib/pg/text_encoder/json.rb
75
- - lib/pg/text_encoder/numeric.rb
76
- - lib/pg/text_encoder/timestamp.rb
77
- - lib/pg/tuple.rb
78
- - lib/pg/type_map_by_column.rb
79
- - lib/pg/version.rb
80
55
  - lib/ysql.rb
56
+ - lib/ysql/basic_type_map_based_on_result.rb
57
+ - lib/ysql/basic_type_map_for_queries.rb
58
+ - lib/ysql/basic_type_map_for_results.rb
59
+ - lib/ysql/basic_type_registry.rb
60
+ - lib/ysql/binary_decoder/date.rb
61
+ - lib/ysql/binary_decoder/timestamp.rb
62
+ - lib/ysql/binary_encoder/timestamp.rb
63
+ - lib/ysql/coder.rb
64
+ - lib/ysql/connection.rb
65
+ - lib/ysql/exceptions.rb
66
+ - lib/ysql/load_balance_service.rb
67
+ - lib/ysql/result.rb
68
+ - lib/ysql/text_decoder/date.rb
69
+ - lib/ysql/text_decoder/inet.rb
70
+ - lib/ysql/text_decoder/json.rb
71
+ - lib/ysql/text_decoder/numeric.rb
72
+ - lib/ysql/text_decoder/timestamp.rb
73
+ - lib/ysql/text_encoder/date.rb
74
+ - lib/ysql/text_encoder/inet.rb
75
+ - lib/ysql/text_encoder/json.rb
76
+ - lib/ysql/text_encoder/numeric.rb
77
+ - lib/ysql/text_encoder/timestamp.rb
78
+ - lib/ysql/tuple.rb
79
+ - lib/ysql/type_map_by_column.rb
80
+ - lib/ysql/version.rb
81
81
  files:
82
82
  - ".appveyor.yml"
83
83
  - ".gems"
@@ -140,32 +140,32 @@ files:
140
140
  - ext/vc/pg.sln
141
141
  - ext/vc/pg_18/pg.vcproj
142
142
  - ext/vc/pg_19/pg_19.vcproj
143
- - lib/pg/basic_type_map_based_on_result.rb
144
- - lib/pg/basic_type_map_for_queries.rb
145
- - lib/pg/basic_type_map_for_results.rb
146
- - lib/pg/basic_type_registry.rb
147
- - lib/pg/binary_decoder/date.rb
148
- - lib/pg/binary_decoder/timestamp.rb
149
- - lib/pg/binary_encoder/timestamp.rb
150
- - lib/pg/coder.rb
151
- - lib/pg/connection.rb
152
- - lib/pg/exceptions.rb
153
- - lib/pg/load_balance_service.rb
154
- - lib/pg/result.rb
155
- - lib/pg/text_decoder/date.rb
156
- - lib/pg/text_decoder/inet.rb
157
- - lib/pg/text_decoder/json.rb
158
- - lib/pg/text_decoder/numeric.rb
159
- - lib/pg/text_decoder/timestamp.rb
160
- - lib/pg/text_encoder/date.rb
161
- - lib/pg/text_encoder/inet.rb
162
- - lib/pg/text_encoder/json.rb
163
- - lib/pg/text_encoder/numeric.rb
164
- - lib/pg/text_encoder/timestamp.rb
165
- - lib/pg/tuple.rb
166
- - lib/pg/type_map_by_column.rb
167
- - lib/pg/version.rb
168
143
  - lib/ysql.rb
144
+ - lib/ysql/basic_type_map_based_on_result.rb
145
+ - lib/ysql/basic_type_map_for_queries.rb
146
+ - lib/ysql/basic_type_map_for_results.rb
147
+ - lib/ysql/basic_type_registry.rb
148
+ - lib/ysql/binary_decoder/date.rb
149
+ - lib/ysql/binary_decoder/timestamp.rb
150
+ - lib/ysql/binary_encoder/timestamp.rb
151
+ - lib/ysql/coder.rb
152
+ - lib/ysql/connection.rb
153
+ - lib/ysql/exceptions.rb
154
+ - lib/ysql/load_balance_service.rb
155
+ - lib/ysql/result.rb
156
+ - lib/ysql/text_decoder/date.rb
157
+ - lib/ysql/text_decoder/inet.rb
158
+ - lib/ysql/text_decoder/json.rb
159
+ - lib/ysql/text_decoder/numeric.rb
160
+ - lib/ysql/text_decoder/timestamp.rb
161
+ - lib/ysql/text_encoder/date.rb
162
+ - lib/ysql/text_encoder/inet.rb
163
+ - lib/ysql/text_encoder/json.rb
164
+ - lib/ysql/text_encoder/numeric.rb
165
+ - lib/ysql/text_encoder/timestamp.rb
166
+ - lib/ysql/tuple.rb
167
+ - lib/ysql/type_map_by_column.rb
168
+ - lib/ysql/version.rb
169
169
  - misc/openssl-pg-segfault.rb
170
170
  - misc/postgres/History.txt
171
171
  - misc/postgres/Manifest.txt
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes