Skip to content

Commit

Permalink
remove pg warning from tests
Browse files Browse the repository at this point in the history
removes the following warning which showed up on macs and travis:

unknown OID 3220: failed to recognize type of 'pg_current_wal_insert_lsn'.
It will be treated as String

converts the value to a string
  • Loading branch information
kbrock committed Oct 7, 2019
1 parent 902ea31 commit 02e281d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extensions/ar_adapter/ar_dba.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def spid
end

def xlog_location
select_value("SELECT pg_current_wal_insert_lsn()")
select_value("SELECT pg_current_wal_insert_lsn()::varchar")
end

def xlog_location_diff(lsn1, lsn2)
Expand Down

0 comments on commit 02e281d

Please sign in to comment.