aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-cgi
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2026-03-06 10:52:43 +0100
committerGuilhem Moulin <guilhem@fripost.org>2026-03-06 16:06:41 +0100
commitca91a579770c89d25aefae220079bf336fa88dc9 (patch)
treecb1f49adacf12b0cb15b6430b0446fbee2135814 /webmap-cgi
parent94438a900d3fb933a33aed4d2ffeb8809e966c46 (diff)
Rename "webmap" to the less generic "geodata".
The database has uses beyond the webmap.
Diffstat (limited to 'webmap-cgi')
-rwxr-xr-xwebmap-cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-cgi b/webmap-cgi
index 2e33016..f6b78f4 100755
--- a/webmap-cgi
+++ b/webmap-cgi
@@ -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)