Skip to content

Commit

Permalink
Add note for NOTIFY postgraphile_watch
Browse files Browse the repository at this point in the history
  • Loading branch information
hos committed Jun 13, 2020
1 parent 5dfef16 commit b1ff3af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/postgraphile/usage-library.md
Expand Up @@ -154,7 +154,11 @@ which are optional. The below options are valid for
schema; PostGraphile will try to add this itself but requires DB superuser
privileges to do so. If PostGraphile can't install it, you can do so
manually. PostGraphile will not drop the schema when it exits, to remove it
you can execute: `DROP SCHEMA postgraphile_watch CASCADE;`
you can execute: `DROP SCHEMA postgraphile_watch CASCADE;`. Some database
services don't provide superuser privileges, so postgraphile_watch can't be
reacted. In this cases you can NOTIFY manually using command `NOTIFY postgraphile_watch, '{"type": "manual"}';`.
Also to stop trying to create schema you can use flag
`{graphileBuildOptions:{pgSkipInstallingWatchFixtures: true}}`.
- `retryOnInitFail`: When false (default), PostGraphile will exit if it fails
to build the initial schema (for example if it cannot connect to the
database, or if there are fatal naming conflicts in the schema). When true,
Expand Down

0 comments on commit b1ff3af

Please sign in to comment.