Skip to content

Commit

Permalink
k pg:url - just output the URL and drop pgbouncer support
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackeus committed Nov 21, 2024
1 parent 37e9132 commit c666690
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions k
Original file line number Diff line number Diff line change
Expand Up @@ -909,9 +909,7 @@ def pg_url
require "base64"

uri = Base64.strict_decode64(secret.fetch("uri"))
pgbouncer_uri = Base64.strict_decode64(secret.fetch("pgbouncer-uri")) if secret.key?("pgbouncer-uri")
puts "Postgres URI: #{uri}"
puts "PgBouncer URI: #{uri}" if pgbouncer_uri
puts uri
end

def pg_bloat
Expand Down

0 comments on commit c666690

Please sign in to comment.