From 697910f5aa501cbae818f9683a465c33c03d3e8b Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Fri, 8 Jun 2001 07:09:53 +0000 Subject: [PATCH] documentation update git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4537 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/sql/README | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/engine/sql/README b/src/engine/sql/README index ac65d8c940..97a3c7f9c0 100644 --- a/src/engine/sql/README +++ b/src/engine/sql/README @@ -148,6 +148,14 @@ You can specify a particular access mode by specifying the URL postgres://localhost/dbname?mode=whatever +You can alternate between multi-user and single-user modes for +the same database. Just be sure that all users have logged off, +otherwise gnucash won't let you log on in single-user mode. +Users are 'logged off' automatically when they exist gnucash. +In case they have crashed, (and thus apear to still be logged +in), you can log them off manually by issuing the following: + +echo "UPDATE gncsession SET time_off='NOW' WHERE time_off = 'infinity';" | psql dbname Other Options ------------- @@ -338,7 +346,5 @@ multi-user mode is fundamentally broken unless they are fixed. but this is currently unimplmented in the engine. Alternately, we could call 'Scrub' at appropriate times. - - -============================= END OF FILE ======================== +============================= END OF FILE ========================