Skip to content

Commit f05de69

Browse files
committed
Fix pg 1.5 deprecation warning
Closes rails#48046
1 parent 77fa558 commit f05de69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ GEM
358358
parser (3.2.1.1)
359359
ast (~> 2.4.1)
360360
path_expander (1.1.1)
361-
pg (1.4.5)
361+
pg (1.5.1)
362362
propshaft (0.6.4)
363363
actionpack (>= 7.0.0)
364364
activesupport (>= 7.0.0)

activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ def update_typemap_for_default_timezone
10961096
PG::TextDecoder::TimestampUtc :
10971097
PG::TextDecoder::TimestampWithoutTimeZone
10981098

1099-
@timestamp_decoder = decoder_class.new(@timestamp_decoder.to_h)
1099+
@timestamp_decoder = decoder_class.new(**@timestamp_decoder.to_h)
11001100
@raw_connection.type_map_for_results.add_coder(@timestamp_decoder)
11011101

11021102
@mapped_default_timezone = default_timezone

0 commit comments

Comments
 (0)