You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe23a6b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/continuous-deployment.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -156,13 +156,13 @@ jobs:
156
156
env:
157
157
JEKYLL_BASE_PATH: /blogs
158
158
run: npm run build
159
-
- name: Verify exported documentation pages
159
+
- name: Verify exported site pages
160
160
# A partially failed content compile must never reach production as a
161
161
# docs-less site. compile-content fails the build on clone/copy errors;
162
162
# this is the independent belt-and-braces check on the final artifact.
163
163
run: |
164
164
set -euo pipefail
165
-
for page in out/index.html out/docs/index.html out/docs/getting-started/index.html out/docs/reference/index.html; do
165
+
for page in out/index.html out/docs/index.html out/docs/getting-started/index.html out/docs/reference/index.html out/blogs/index.html out/announcements/index.html; do
PostgreSQL applies available intermediate extension upgrade scripts automatically. Confirm
410
-
afterwards with:
404
+
Setup adds any missing `shared_preload_libraries` entries and updates the extensions, but only in
405
+
the `postgres` database. If your gateway uses another database, take the manual route below. It also asks for the admin password and sets it on the existing admin
406
+
user: enter the current password to keep it.
411
407
412
-
```sql
413
-
SELECT extname, extversion FROM pg_extension WHERE extname LIKE'documentdb%';
408
+
To update by hand, or for every other database that has DocumentDB installed, first check that
Take a backup first. For an adopted PostgreSQL instance, restart its operator-managed
423
-
PostgreSQL service instead of `documentdb-postgresql@18.service`.
433
+
`-1` runs the statements as one transaction: if any fails, every extension stays at its old version
434
+
and the gateway stays stopped. `-X` skips `~/.psqlrc`, which could otherwise turn `ON_ERROR_STOP` off. If DocumentDB is installed in other databases too, run the `psql` part for each of them, with
435
+
that `-d`, before the last line, so the gateway starts only after every database is updated.
436
+
PostgreSQL applies intermediate upgrade scripts automatically. Take a backup first.
437
+
438
+
On a host with both PostgreSQL 17 and 18, `documentdb-common`, `documentdb-gateway` and
439
+
`documentdb-postgresql-tools` serve both majors, so upgrading them affects both: stop both gateways
440
+
(`documentdb-gateway-local@17.service` and `@18.service`) before upgrading, then update each major.
441
+
442
+
For an adopted PostgreSQL instance, setup never restarts PostgreSQL. Stop the gateway
443
+
(`documentdb-gateway-local@18.service`) before upgrading, restart the operator-managed PostgreSQL
444
+
service yourself, then re-run
445
+
`documentdb-setup --pg-version 18 --target-postgres-instance 18/main --admin-user admin` (with your cluster name); it
446
+
updates the extensions and then starts the gateway. If
447
+
setup has to change `shared_preload_libraries`, it exits without updating the extensions: restart
448
+
PostgreSQL and run it once more. By hand, use that instance's own `psql` connection.
449
+
450
+
Confirm afterwards with:
451
+
452
+
```sql
453
+
SELECT extname, extversion FROM pg_extension WHERE extname LIKE'documentdb%';
454
+
```
424
455
425
456
## Version pinning
426
457
@@ -449,17 +480,17 @@ published in the documentdb.io package repositories. Community builds are welcom
449
480
For example, after checking out the matching release tag, build an extension package with:
That command builds only `postgresql-N-documentdb`. A custom full-stack package set uses
486
+
`v1.0-0` and `v1.0-RC2` are on the same commit, so pass `--version`; without it the scripts can build RC-versioned packages. That command builds only `postgresql-N-documentdb`. A custom full-stack package set uses
0 commit comments