From: Michael Orlitzky Date: Thu, 9 Jun 2022 11:33:07 +0000 (-0400) Subject: */*: drop tty parameters. X-Git-Tag: 0.0.5~1 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=commitdiff_plain;h=853aaef812f6e23f17d3e24db99dfbaadafdbddf;hp=853aaef812f6e23f17d3e24db99dfbaadafdbddf */*: drop tty parameters. The "tty" parameter for postgresql connections has been ignored for as long as I can remember, but with postgresql-14, it has finally been removed. Now, attempting to supply it causes an error: PG::ConnectionBad: invalid connection option "tty" This commit removes all mention of the parameter, and updates two instances where PG::Connection.new() was called with positional arguments. Now it is called with a hash, sans the :tty key, which should be backwards-compatible. ---