From 338c4de8b481a24344bd3171d34fae3ac61ccf37 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Mon, 11 Jul 2016 16:46:39 -0700 Subject: [PATCH] Add schema cache freshness warning --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fc018ecf6..2d0bd323b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,6 +31,10 @@ your contributions. [enable logging all statements](http://www.microhowto.info/howto/log_all_queries_to_a_postgresql_server.html), then [find your logs](http://blog.endpoint.com/2014/11/dear-postgresql-where-are-my-logs.html). +* If your database schema has changed while the PostgREST server is running, + send the server a `SIGHUP` signal or restart it to ensure the schema cache + is not stale. This sometimes fixes apparent bugs. + ## Code ### Haskell Conventions