diff options
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) |
