aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/INSTALL.md2
-rw-r--r--rust/migrations/2019-01-01-000000_init/up.sql1
-rwxr-xr-xrust/tests/pg_tmp.sh2
3 files changed, 3 insertions, 2 deletions
diff --git a/rust/INSTALL.md b/rust/INSTALL.md
index 462072dc..3f8b6b84 100644
--- a/rust/INSTALL.md
+++ b/rust/INSTALL.md
@@ -7,7 +7,7 @@ directions are likely to end up out-of-date.
To install manually, on a bare server, as root:
adduser fatcat
- apt install postgresql-11 postgresql-contrib postgresql-client-11 \
+ apt install postgresql-13 postgresql-contrib postgresql-client-13 \
nginx build-essential git pkg-config libssl-dev libpq-dev \
htop screen
mkdir -p /srv/fatcat
diff --git a/rust/migrations/2019-01-01-000000_init/up.sql b/rust/migrations/2019-01-01-000000_init/up.sql
index 5211b29a..519e5961 100644
--- a/rust/migrations/2019-01-01-000000_init/up.sql
+++ b/rust/migrations/2019-01-01-000000_init/up.sql
@@ -1,5 +1,6 @@
-- written for Postgres 9.6 with OSSP extension for UUIDs
-- ... but actually runs on Postgres 11 in qa/production/tests
+-- ... and now Postgres 13
-- Previously VARCHAR and fixed-size CHAR was used in this schema for specific
-- columns (especially fixed-size external identifiers, and hashes). This was
diff --git a/rust/tests/pg_tmp.sh b/rust/tests/pg_tmp.sh
index 2036a76c..ae6860ef 100755
--- a/rust/tests/pg_tmp.sh
+++ b/rust/tests/pg_tmp.sh
@@ -41,7 +41,7 @@ done
# bnewbold: hack this in to "make it work" on debian/ubuntu
# bnewbold: also note, pg_virtualenv could also work, but is ubuntu/debian specific
-export PATH="$PATH:/usr/lib/postgresql/9.6/bin:/usr/lib/postgresql/11/bin"
+export PATH="$PATH:/usr/lib/postgresql/9.6/bin:/usr/lib/postgresql/11/bin:/usr/lib/postgresql/13/bin"
initdb -V > /dev/null || exit 1
PGVER=$(psql -V | awk '{print $NF}')