Skip to content

Commit

Permalink
Merge pull request #1389 from azavea/tt/1374/upgrade-postgres
Browse files Browse the repository at this point in the history
Upgrade dev to PostgreSQL 14, PostGIS 3.5
  • Loading branch information
rajadain authored Nov 5, 2024
2 parents 256bb73 + 7dcd78b commit c4ef13c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deployment/ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ postgres_password: "cac_tripplanner"
postgres_host: "192.168.56.25"

postgresql_support_psycopg2_version: "2.9.*"
'postgis_version': [3, 0, 1]
'postgis_version': [3, 5, 0]

packer_version: "1.5.4"

Expand All @@ -29,8 +29,8 @@ papertrail_log_files:
- "/var/log/event-feed.log"
- "/var/log/upstart/otp.log"

postgresql_version: "12"
postgresql_package_version: "12.*.pgdg20.04+1"
postgresql_version: "14"
postgresql_package_version: "14.*.pgdg20.04+1"
postgresql_support_libpq_version: "*"

postgresql_listen_addresses: "*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
# postgresql defaults copied from azavea.postgresql
postgresql_version: "12"
postgresql_package_version: "12.*.*"
postgresql_listen_addresses: localhost
postgresql_port: 5432
postgresql_data_directory: /var/lib/postgresql/{{ postgresql_version }}/main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
args:
chdir: "/tmp/postgis-{{ postgis_version | join('.') }}"
with_items:
- ./configure
- ./configure --without-protobuf
- make
- make install
- ldconfig
Expand Down

0 comments on commit c4ef13c

Please sign in to comment.