diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2026-03-06 10:52:43 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2026-03-06 16:06:41 +0100 |
| commit | ca91a579770c89d25aefae220079bf336fa88dc9 (patch) | |
| tree | cb1f49adacf12b0cb15b6430b0446fbee2135814 /webmap-cgi | |
| parent | 94438a900d3fb933a33aed4d2ffeb8809e966c46 (diff) | |
Rename "webmap" to the less generic "geodata".
The database has uses beyond the webmap.
Diffstat (limited to 'webmap-cgi')
| -rwxr-xr-x | webmap-cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ def application(env, start_response) -> Iterator[bytes]: # simply opens a (single) connection to PostgreSQL at launch time. # Use autocommit to avoid starting a transaction, cf. # https://www.psycopg.org/psycopg3/docs/basic/transactions.html#autocommit-transactions -PG_CONN = connect('postgresql://webmap_guest@/webmap', +PG_CONN = connect('postgresql://guest@/geodata', autocommit=True, prepare_threshold=0, cursor_factory=RawCursor) |
