Skip to content

Commit

Permalink
Add Postgres 17 to default versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Dec 23, 2024
1 parent 7345dc8 commit 7a0b1e0
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Formula/h3-pg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/hypopg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/ip4r.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/neon-extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
6 changes: 3 additions & 3 deletions Formula/neon-postgres.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NeonPostgres < Formula
end

def pg_versions(with: nil, without: nil)
versions = Set.new(%w[v14 v15 v16])
versions = Set.new(%w[v14 v15 v16 v17])
versions.merge(Array(with))
versions.subtract(Array(without))
versions.to_a.sort
Expand All @@ -63,7 +63,7 @@ def install
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"

deps = %w[openssl@3 readline]
pg_versions(with: "v17").each do |v|
pg_versions.each do |v|
cd "vendor/postgres-#{v}" do
args = %W[
--prefix=#{libexec}/#{v}
Expand Down Expand Up @@ -108,7 +108,7 @@ def install
end

test do
pg_versions(with: "v17").each do |v|
pg_versions.each do |v|
system "#{pg_bin_for(v)}/initdb", testpath/"test-#{v}"

pg_config = pg_bin_for(v)/"pg_config"
Expand Down
2 changes: 1 addition & 1 deletion Formula/pg_cron.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pg_graphql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pg_hashids.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pg_jsonschema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pg_tiktoken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pgjwt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pgtap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/pgvector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/plpgsql_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/plv8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/postgresql-hll.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/postgresql-unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/prefix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/rum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/timescaledb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def neon_postgres
end

def pg_versions
neon_postgres.pg_versions(with: "v17")
neon_postgres.pg_versions
end

def install
Expand Down

0 comments on commit 7a0b1e0

Please sign in to comment.