Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>, PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py
Date: 2021-10-22 16:10:48
Message-ID: 0d7d2e12-bdf9-8b7b-4b90-8380eeef7c16@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 10/22/21 11:08 AM, Célestin Matte wrote:
> Hello,
>
> Defining SEARCH_DSN is necessary to install the search functionality in pgweb, although this is not explained anywhere.
> This patch adds SEARCH_DSN in the example settings.py so that users know that this variable must be defined.

...this perhaps explains why I've never gotten the search utility to
work in my local environment.

In general I'm OK with this, but perhaps we leave the string empty with
instructions to fill the connection string to the DB that is hosting the
search schema.

Jonathan

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2021-10-22 16:23:58 Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py
Previous Message Célestin Matte 2021-10-22 15:19:57 Re: [PATCH] pgarchives: Fix database install procedure: remove redundant tables in schema.sql