From ca91a579770c89d25aefae220079bf336fa88dc9 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 6 Mar 2026 10:52:43 +0100 Subject: Rename "webmap" to the less generic "geodata". The database has uses beyond the webmap. --- webmap-cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webmap-cgi') 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) -- cgit v1.2.3