Changeset 620 in code for trunk/doc/soju.1.scd


Ignore:
Timestamp:
Oct 11, 2021, 1:21:04 PM (4 years ago)
Author:
hubert
Message:

PostgreSQL support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/soju.1.scd

    r615 r620  
    107107        Enable TLS support. The certificate and the key files must be PEM-encoded.
    108108
    109 *db* sqlite3 <path>
    110         Set the SQLite database path (default: "soju.db" in the current directory).
     109*db* <driver> <source>
     110        Set the database location for user, network and channel storage. By default,
     111        a _sqlite3_ database is opened in "./soju.db".
     112
     113        Supported drivers:
     114
     115        - _sqlite3_ expects _source_ to be a path to the SQLite file
     116        - _postgres_ expects _source_ to be a space-separated list of _key=value_
     117          parameters, e.g. _db postgres "host=/run/postgresql dbname=soju"_. Note
     118          that _sslmode_ defaults to _require_. For more information on connection
     119          strings, see:
     120          <https://pkg.go.dev/github.com/lib/pq#hdr-Connection_String_Parameters>.
    111121
    112122*log* fs <path>
Note: See TracChangeset for help on using the changeset viewer.