yugabytedb-ysql 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Manifest.txt +12 -12
- data/Rakefile +4 -4
- data/ext/extconf.rb +6 -6
- data/ext/pg.c +1 -1
- data/ext/pg.h +1 -2
- data/ext/pg_connection.c +0 -5
- data/lib/{pg → ysql}/connection.rb +14 -0
- data/lib/{pg → ysql}/version.rb +1 -1
- data/lib/ysql.rb +29 -29
- data/yugabytedb-ysql.gemspec +1 -1
- metadata +52 -52
- /data/lib/{pg → ysql}/basic_type_map_based_on_result.rb +0 -0
- /data/lib/{pg → ysql}/basic_type_map_for_queries.rb +0 -0
- /data/lib/{pg → ysql}/basic_type_map_for_results.rb +0 -0
- /data/lib/{pg → ysql}/basic_type_registry.rb +0 -0
- /data/lib/{pg → ysql}/binary_decoder/date.rb +0 -0
- /data/lib/{pg → ysql}/binary_decoder/timestamp.rb +0 -0
- /data/lib/{pg → ysql}/binary_encoder/timestamp.rb +0 -0
- /data/lib/{pg → ysql}/coder.rb +0 -0
- /data/lib/{pg → ysql}/exceptions.rb +0 -0
- /data/lib/{pg → ysql}/load_balance_service.rb +0 -0
- /data/lib/{pg → ysql}/result.rb +0 -0
- /data/lib/{pg → ysql}/text_decoder/date.rb +0 -0
- /data/lib/{pg → ysql}/text_decoder/inet.rb +0 -0
- /data/lib/{pg → ysql}/text_decoder/json.rb +0 -0
- /data/lib/{pg → ysql}/text_decoder/numeric.rb +0 -0
- /data/lib/{pg → ysql}/text_decoder/timestamp.rb +0 -0
- /data/lib/{pg → ysql}/text_encoder/date.rb +0 -0
- /data/lib/{pg → ysql}/text_encoder/inet.rb +0 -0
- /data/lib/{pg → ysql}/text_encoder/json.rb +0 -0
- /data/lib/{pg → ysql}/text_encoder/numeric.rb +0 -0
- /data/lib/{pg → ysql}/text_encoder/timestamp.rb +0 -0
- /data/lib/{pg → ysql}/tuple.rb +0 -0
- /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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ece6514d0928f8b4d8a347ea04e4bc20b024d4d55f00ae858e8331cc65ddc120
|
4
|
+
data.tar.gz: dbbf6a9dea86b06ef11e0b4dd0dbdb48a96a8d78a202f24220000331e2a22fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a26a46b733665660deed77635be022b3fa135fcdb408be52f08a4ed378d84a9b637b756e5266b9247b66e7bf161aa1f49043482d62e95a0966aa9895945019
|
7
|
+
data.tar.gz: 916adfd2bd79bc2d07a2d5c94b341fa2e855b988a120f646661565da33ddfe4134a61253d224260457c479d953970237de2e25439ba00de8bf4ab13f0c60efef
|
data/.gitignore
CHANGED
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/
|
47
|
-
lib/
|
48
|
-
lib/
|
49
|
-
lib/
|
50
|
-
lib/
|
51
|
-
lib/
|
52
|
-
lib/
|
53
|
-
lib/
|
54
|
-
lib/
|
55
|
-
lib/
|
56
|
-
lib/
|
57
|
-
lib/
|
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 + "
|
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/
|
33
|
-
CLEAN.include "lib/
|
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 = '
|
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( '
|
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 '
|
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 '
|
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 '
|
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)/
|
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( "
|
173
|
+
create_makefile( "ysql_ext" )
|
174
174
|
|
data/ext/pg.c
CHANGED
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
|
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 );
|
@@ -4502,7 +4498,6 @@ init_pg_connection(void)
|
|
4502
4498
|
rb_define_method(rb_cPGconn, "reset_start", pgconn_reset_start, 0);
|
4503
4499
|
rb_define_private_method(rb_cPGconn, "reset_start2", pgconn_reset_start2, 1);
|
4504
4500
|
rb_define_method(rb_cPGconn, "reset_poll", pgconn_reset_poll, 0);
|
4505
|
-
rb_define_alias(rb_cPGconn, "close", "finish");
|
4506
4501
|
|
4507
4502
|
/****** PG::Connection INSTANCE METHODS: Connection Status ******/
|
4508
4503
|
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) )
|
data/lib/{pg → ysql}/version.rb
RENAMED
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 "
|
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
|
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}/
|
47
|
+
require "#{major_minor}/ysql_ext"
|
48
48
|
else
|
49
|
-
require '
|
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, '
|
78
|
+
autoload klass, 'ysql/binary_decoder/timestamp'
|
79
79
|
end
|
80
|
-
autoload :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, '
|
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, '
|
89
|
+
autoload klass, 'ysql/text_decoder/timestamp'
|
90
90
|
end
|
91
|
-
autoload :Date, '
|
92
|
-
autoload :Inet, '
|
93
|
-
autoload :JSON, '
|
94
|
-
autoload :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, '
|
98
|
+
autoload klass, 'ysql/text_encoder/timestamp'
|
99
99
|
end
|
100
|
-
autoload :Date, '
|
101
|
-
autoload :Inet, '
|
102
|
-
autoload :JSON, '
|
103
|
-
autoload :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, '
|
107
|
-
autoload :BasicTypeMapForQueries, '
|
108
|
-
autoload :BasicTypeMapForResults, '
|
109
|
-
autoload :BasicTypeRegistry, '
|
110
|
-
require '
|
111
|
-
require '
|
112
|
-
require '
|
113
|
-
require '
|
114
|
-
require '
|
115
|
-
require '
|
116
|
-
require '
|
117
|
-
autoload :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
|
data/yugabytedb-ysql.gemspec
CHANGED
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.
|
4
|
+
version: '0.4'
|
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-
|
13
|
+
date: 2024-08-02 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
|
/data/lib/{pg → ysql}/coder.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
/data/lib/{pg → ysql}/result.rb
RENAMED
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
|
/data/lib/{pg → ysql}/tuple.rb
RENAMED
File without changes
|
File without changes
|